crontab help

Jeff Vian jvian10 at charter.net
Sun Aug 29 05:04:18 UTC 2004


On Sat, 2004-08-28 at 23:24, mailing-list at gmx.net wrote:
> Am Sonntag, 29. August 2004 04:49 schrieb Steve Foutty:
> > 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
> 
> 5,10,15,20,25,30,35,40,45,50,55,0 * * * * username (programmname with full
> path)
> 

Only use the username field if you edit /etc/crontab
If you do crontab -e it will edit the user crontab and that one does not
use the username field.

Also, the time for once every 5 minutes could be entered as 
*/5 * * * * /path/to/mrtg
Either way works and YMMV

> the whole text in one line ...........
> 
> Ich hope that I helped you!
> 
> Georg
> 
> -- 
> Georg M. Zajko






More information about the fedora-list mailing list