lists-centos wrote:
> Do you really have the comment on the line with the command in the
> second one? That's not allowed, and will mess things up, see the
> crontab(5) man page - second paragraph under "description".
>
> If you have that comment there it's hard to tell exactly what will
> happen
James B. Byrne wrote:
> host1 crontab -l as root
>
> 45 7 * * * /usr/sbin/logwatch --service http --service imapd
> --service pop3 --service sshd --service vsftpd --service
> zz-disk_space --service zz-network --service zz-sys --mailto
> supp...@harte-lyne.ca
>
> host2 crontab -l as root
>
> 45
I am trying to get a logwatch summary emailed to a central address
from a cron job. The tasd was copied verbatim from a system which
does this already. Both are shown below.
host1 crontab -l as root
45 7 * * * /usr/sbin/logwatch --service http --service imapd
--service pop3 --service sshd --s
3 matches
Mail list logo