Re: crontab help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 29 Aug 2004 09:55:16 +0530, François Patte
<francois.patte@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Selon Steve Foutty <steve@xxxxxxxxxx>:
> > 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@xxxxxxxxx
            GPG ID: 0xB3EBF1D9
            http://www.metacon.ca/



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux