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

Re: Cron problem after changing clock



"Sam Van Hulle" <hybrid@pandora.be> writes:

>>> Does anyone knows how to fix this ?
>
>>What exactly is the crontab entry that is giving you problems. Can't
>>you just edit the list of jobs with crontab so that it runs when you
>>want it to? What happens when you change the task to run more/less
>>often.
> 5 * * * * /usr/bin/perl /home/users/c234/statistics.cgi
> 4 0 * * * /usr/bin/perl /home/users/c234/alert.cgi
> 8 0 * * * /usr/bin/perl /home/users/c234/bids.cgi
>
> When i change the tasks to run more/less the task is still run after about
> an hour,
> only a couple of minutes sooner/later.

If you mean the first task then that's exactly what you have set it
for :)

5 * * * *
means at
minutes = 5
hours = *
days = *
etc.

For running every five minutes you want something like:
0,5,10,15,20,25,30,35,40,45,50,55 * * * *

When in doubt: man crontab

and especially: man 5 crontab

Hope that helps,
Bijan



Reply to: