[nzlug] cron job

Nick Rout nick at rout.co.nz
Thu Aug 10 13:46:59 NZST 2006


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>





More information about the NZLUG mailing list