Re: crontab
On Thu, 30 Dec 1999, Dave Sherohman wrote:
> > what do i have to write into /etc/crontab that cron will cp a
> > file every 5 mins??
> > i have
> > 5 * * * * root cp ...
> > but this copies just every hour.
> crontab entries define patterns that the time has to match for it to execute,
> not intervals. So you need to use
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * root cp ...
or the shorter:
*/5 * * * * root cp ...
------------------------------------------------------
hypnos <mailto:hypnos@m-net.arbornet.org>
Reply to:
- References:
- Re: crontab
- From: Dave Sherohman <esper@usinternet.com>