crontab help

Ben Steeves ben.steeves at gmail.com
Sun Aug 29 04:48:11 UTC 2004


On Sun, 29 Aug 2004 09:55:16 +0530, François Patte
<francois.patte at math-info.univ-paris5.fr> wrote:
> Selon Steve Foutty <steve at foutty.org>:
> > How do I put mrtg into crontab so that it runs every 5 minutes..
> >
> then put these lines (the text editor is vi):
> 
> SHELL=/bin/sh
> 
> 5 * * * * /path/to/mrtg

Actually, that will run it at 5 minutes after every hour (e.g., 1:05,
2:05, etc...).  What he really wants is:

*/5 * * * * /path/to/mrtg

-- 
Ben Steeves
            ben.steeves at gmail.com
            GPG ID: 0xB3EBF1D9
            http://www.metacon.ca/





More information about the fedora-list mailing list