Re: Wrapper to quiet cron jobs

2006-08-28 Thread Amos Shapira
On 28/08/06, Aharon Schkolnik <[EMAIL PROTECTED]> wrote: Thanks. Looks like a good place to start.I have a few questions below On Sunday 27 August 2006 18:03, Shachar Shemesh wrote:> Aharon Schkolnik wrote:> > Hi.> >> > I need a wrapper for cron jobs that will only send me stdout and stderr > >

Re: Wrapper to quiet cron jobs

2006-08-28 Thread Shachar Shemesh
Aharon Schkolnik wrote: >> #!/bin/sh >> >> OUTFILE=`mktmp -t quiet.XXX` >> > > Woudn't it be better to redirect both stdout and stderr to the same file, in > order to maintain the chronological relationship between them ? > You can maintain order of output or the distinction between s

Re: Wrapper to quiet cron jobs

2006-08-28 Thread Aharon Schkolnik
Thanks. Looks like a good place to start. I have a few questions below On Sunday 27 August 2006 18:03, Shachar Shemesh wrote: > Aharon Schkolnik wrote: > > Hi. > > > > I need a wrapper for cron jobs that will only send me stdout and stderr > > if the job failed. > > > > I once had a wrapper l

Re: Wrapper to quiet cron jobs

2006-08-27 Thread Shachar Shemesh
Aharon Schkolnik wrote: > Hi. > > I need a wrapper for cron jobs that will only send me stdout and stderr if > the > job failed. > > I once had a wrapper like this, but I lost it, and can't find it with google. > > Anyone have one l laying around ? > > TIA. > > I'm programming this into the m

Wrapper to quiet cron jobs

2006-08-27 Thread Aharon Schkolnik
Hi. I need a wrapper for cron jobs that will only send me stdout and stderr if the job failed. I once had a wrapper like this, but I lost it, and can't find it with google. Anyone have one l laying around ? TIA. -- The day is short, and the work is great,| Aharon Schkolnik and the l