[nzlug] cron job

anru chen ctx2002 at gmail.com
Thu Aug 10 12:31:04 NZST 2006


On 8/10/06, Warren Boyd <w.boyd at clear.net.nz> wrote:
> 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?

   no, 29 days up time.
>
> If you are using anacron, that will schedule tasks for when the
> machine has been off for a bit
   how can i check if mahcine use anacron?
>
> Also - are you sure that the command is not being started from
> anywhere else?

  do not know if any one else manually start it or not, have to wait for
  answser.
>
> Lastly - what timezone is your machine set to?

   run date: it had shown NZST.
   run uname -a , it had shown EDT
>
> Regards,
> Warren.
>
>
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>




More information about the NZLUG mailing list