[nzlug] cron job
anru chen
ctx2002 at gmail.com
Thu Aug 10 14:43:30 NZST 2006
yes, cron knows $SITEDIR, i have check log file, the job was
executed by cron at 1:40 am, but this morning, the job was still
running at 11am,
i think probably is some one manually trigged the job.
regards,
anru
On 8/10/06, Nick Rout <nick at rout.co.nz> wrote:
>
> On Thu, 10 Aug 2006 11:50:55 +1200
> anru chen wrote:
>
> > hi :
> >
> > i have entry in crontab file like below,
> >
> > 40 01 * * * php $SITEDIR/addstockall.php start
>
> Is that exactly what it says? Its unlikely that cron knows enough about
> your environment to know what $SITEDIR is, which would lead to failure.
>
>
>
> --
> Nick Rout <nick at rout.co.nz>
>
>
> _______________________________________________
> 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