I have an Ubuntu server with logwatch installed, so it has all the 'right' postfix setups and I get daily logwatch reports.

I also added a cron shutdown as follows:

10 4    * * *   root    /usr/sbin/shutdown

And I get a daily email saying the system will shutdown in ~1min. Nice.

I want to get emails from my Fedora notebook for crontab activities.  I particular, I want to do a nightly rsync to an rsynd and get the results of this printed.

something like:

10 4    * * *   rgm    /usr/bin/time --password-file=pasw --verbose /usr/bin/rsync -ah --stats /home/rgm/r/ rsync://rgm@homestor/rgm/r/

should do it for the rsync; in fact it does rsync the files, but no report is emailed.  Not local or other.

The command seems to send its output to stdout.


--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to