Fwd: Silent Cron Jobs
- From: "Strong Cypher" <cypherstrong@xxxxxxxxx>
- Date: Thu, 27 Mar 2008 09:15:27 +0100
---------- Forwarded message ----------
From: Strong Cypher <cypherstrong@xxxxxxxxx>
Date: Thu, 27 Mar 2008 09:13:54 +0100
Subject: Re: Silent Cron Jobs
To: Curt Howland <Howland@xxxxxxxxx>
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@xxxxxxxxx> 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 debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact
listmaster@xxxxxxxxxxxxxxxx
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- Silent Cron Jobs
- From: Curt Howland
- Silent Cron Jobs
- Prev by Date: Re: Debian is losing its users
- Next by Date: Re: Debian is losing its users
- Previous by thread: Re: Silent Cron Jobs
- Next by thread: Re: Silent Cron Jobs
- Index(es):
Relevant Pages
|
|