[Gllug] crontab

Alistair Mann alistair at lgeezer.net
Thu Jul 3 13:28:09 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thus spaketh Simon Faulkner on Wednesday 02 July 2003 1:07 pm:
> 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
>
> Simon

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

Would suffice; chances are you /do/ want stderr email, just no stdout email. 
You might also consider fetchmail as a daemon instead of in cron.
- -- 
Alistair
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/BC9pEz+/jt85AfsRArsYAJ9QY1+xPz4+EixL1MupszMr7ewfzgCbBp9d
aPyglIHTkkO4StJ6yftB7V4=
=gZYu
-----END PGP SIGNATURE-----


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




More information about the GLLUG mailing list