Fwd: Silent Cron Jobs
---------- Forwarded message ----------
From: Strong Cypher <firstname.lastname@example.org>
Date: Thu, 27 Mar 2008 09:13:54 +0100
Subject: Re: Silent Cron Jobs
To: Curt Howland <Howland@priss.com>
your script need to drop any think from output to be able to drop mail sending
you have to redirect any command line to a file or null node like this
cmd >& /dev/null
On 3/26/08, Curt Howland <Howland@priss.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 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.
> - --
> Treason! http://blog.mises.org/archives/007926.asp
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> -----END PGP SIGNATURE-----
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact