Re: Silent Cron Jobs
-----BEGIN PGP SIGNED MESSAGE-----
Curt Howland wrote:
| I tried to whip up a small cron job, I put a short script
| in /etc/cron.daily thinking that this would work.
| Well, yes, it works, but I get mail sent to me by cron explaining that
| the job executed successfully.
| I'd prefer not to get the mail. I don't get mail for any of the other
| jobs in cron.daily, and I don't understand enough of bash scripting
| to see how mine is different from the others.
| If all else fails I could just add a line to /etc/crontab, but I think
| the Debian way is so very much better coordinated and elegant.
I send the output of such cron jobs to /dev/null.
~ > /dev/null 2>&1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----