[nzlug] cron job
Warren Boyd
w.boyd at clear.net.nz
Thu Aug 10 12:22:14 NZST 2006
On 2006-08-10, at 11:50 , anru chen wrote:
> hi :
>
> i have entry in crontab file like below,
>
> 40 01 * * * php $SITEDIR/addstockall.php start
>
> so above command should run at 1:40 am , right?
>
> but some time, the cron job will run at a laster time, like 9 or 10
> am.
>
Is your machine switched off at all?
If you are using anacron, that will schedule tasks for when the
machine has been off for a bit
Also - are you sure that the command is not being started from
anywhere else?
Lastly - what timezone is your machine set to?
Regards,
Warren.
More information about the NZLUG
mailing list