[Gllug] crontab

Stig Brautaset gllug at brautaset.org
Thu Jul 3 20:04:12 UTC 2003


On Jun 30 2003, Simon wrote:
> I would like to stop crontab emailing me when it runs fetchmail.
> 
> What syntax do I need?
> 
> 4,14,24,34,44,54 * * * * /usr/bin/fetchmail 2&1> /dev/null


4,14,24,34,44,54 * * * * /usr/bin/fetchmail >& /dev/null

under most recent shells[1], or:

4,14,24,34,44,54 * * * * /usr/bin/fetchmail 2>&1 > /dev/null 
4,14,24,34,44,54 * * * * /usr/bin/fetchmail 2> /dev/null > /dev/null

[1] certainly sh-type -- don't know for csh etc.

Hope that helps.


Stig
-- 
brautaset.org

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list