---------- Forwarded message ---------- From: Strong Cypher <[EMAIL PROTECTED]> Date: Thu, 27 Mar 2008 09:13:54 +0100 Subject: Re: Silent Cron Jobs To: Curt Howland <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi. > > 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. > > Curt- > > - -- > Treason! http://blog.mises.org/archives/007926.asp > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iQEVAwUBR+pYQi9Y35yItIgBAQJkcgf/c8y5Sbd4WkNChuA2muNkprTVFy6JkMIs > 8gHQReKiEJH6R4QHVTWRtElqjWHDcry15lCV6h2AIN5w+FIPKmvFcViA3rGk5jK3 > Jr/NzC3twwtRaxhvUKDNrfr0VHmAjHeVxBdBHt287zejzDc9TCECcPBderco82rO > OwmDs7WuNzQrWZSz8VDGFhjxdJrdhUIVzgeSamD0xtt65gNvUj6GN2YxGeUODlTk > V9XfO6vxsrK3chBrag7Cz4EA5pPsyK3QoMtr/NrCPSBPbE2dT38hZAtz3dIN4yq1 > ve2fmP7HMF24TtKhTKxkmKN6Qm3uOT8B9qiZ7VPrJsvldcSJVAHuAA== > =IgSr > -----END PGP SIGNATURE----- > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]