cron job

Ed Kasky ed at esson.net
Wed Jul 30 05:17:31 UTC 2008


At 10:06 PM Tuesday, 7/29/2008, Patrick O'Callaghan wrote -=>
>On Tue, 2008-07-29 at 21:05 -0700, Nifty Fedora Mitch wrote:
> > On Tue, Jul 29, 2008 at 04:29:44PM -0400, Max Pyziur wrote:
> > > On Tue, 29 Jul 2008 tony.chamberlain at lemko.com wrote:
> > >
> > >>
> > >> Output from nightly cronjobs is filling root's mailbox quickly,
> > >> and sending everything else to /var/spool/mqueue.  These are just
> > >> status messages (stdout) from the cronjobs which we don't really need
> > >> mailed to root.  Is there anyway to suppress mailings?
> > >
> > > Send your jobs to /dev/null like so:
> > > 30 0 * * * /path/to/program >> /dev/null
> > >
> > > Make sense?
> >
> > The above addresses stdout as requested
> > also consider stderr..
> >
> > 2       1   *   *  *    $HOME/bin/check-calendar > /dev/null 2>&1 
> < /dev/null &
>
>What's the final "&" for?

 From - http://www.freeos.com/guides/lsst/ch02sec20.html

For background processing (With &, use to put particular command and 
program in background)
[linux-command]  &

For example - $ ls / -R | wc -l &


...........................................................................
Randomly Generated Quote (181 of 1434):
"Tact is the ability to describe others as they see themselves."
    --Abraham Lincoln
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080729/9feca174/attachment-0001.htm>


More information about the fedora-list mailing list