Re: Silent Cron Jobs

2008-03-27 Thread Curt Howland
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 27 March 2008, Patter <[EMAIL PROTECTED]> was heard to say: > http://www.linuxhelp.net/guides/cron/ Thanks for all the help, everyone. Indeed, for this, redirecting stderr is just fine too, so "cmd > /dev/null 2>&1" is exactly what I

Re: Silent Cron Jobs

2008-03-27 Thread Tom Goulet
On 3/26/08, Curt Howland <[EMAIL PROTECTED]> 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. That's odd, usually cron

Re: Silent Cron Jobs

2008-03-27 Thread W Paul Mills
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Curt Howland wrote: | 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. | |

Re: Silent Cron Jobs

2008-03-27 Thread Patter
On Wed, 26 Mar 2008 20:40:12 +0100, 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. http://www.linuxhelp

Fwd: Silent Cron Jobs

2008-03-27 Thread Strong Cypher
-- 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

Re: Silent Cron Jobs

2008-03-27 Thread Patrick Wiseman
On Wed, Mar 26, 2008 at 10:05 AM, 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

Re: Silent Cron Jobs

2008-03-27 Thread Martin Marcher
Hi, afaik cron (by default) mails all output from a script. If i create a cronjob I usually dump all stdout (just redirect it to /dev/null) But I want to be informed of any errors so I keep stderr. example: # this will get mailed echo "My cool cron script" # this will not mail stdout, but std

Re: Silent Cron Jobs

2008-03-27 Thread omer
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 othe

Re: Silent Cron Jobs

2008-03-27 Thread Johann Spies
On Wed, Mar 26, 2008 at 10:05:53AM -0400, Curt Howland wrote: > 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 o

Silent Cron Jobs

2008-03-26 Thread Curt Howland
-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