crontab help
Jeff Vian
jvian10 at charter.net
Sun Aug 29 05:07:08 UTC 2004
On Sat, 2004-08-28 at 23:25, François Patte wrote:
> Selon Steve Foutty <steve at foutty.org>:
>
> > I'm new to Fedora and would like a little help with crontab. I have a fresh
> > install and have just configured mrtg for monitoring a few devices. I tried
> > to follow the documentation for crontab but can't seem to get it right.
> >
> > How do I put mrtg into crontab so that it runs every 5 minutes..
> >
> > Thanks,
> > Steve
> >
>
> crontab -e
>
> then put these lines (the text editor is vi):
>
> SHELL=/bin/sh
>
> 5 * * * * /path/to/mrtg
>
Steve, the above example will run once per hour at 5 minutes after.
To run it every 5 minutes use
*/5 * * * * /path/to/mrtg
> man 5 crontab gives many details on the syntaxe and some examples.
>
> --
> François Patte
>
> Ecole française d'Extrême-Orient - Pune - Inde
> Université René Descartes - Paris 5
> UFR de mathématiques et informatique
> http://www.math-info.univ-paris5.fr/~patte
>
More information about the fedora-list
mailing list