PDA

View Full Version : Cron (require_once - Include file)


CooganA
15 Mar 2007, 20:10
Hi

I'm trying to run a PHP file using cron.

I'm trying to include a file using
[PHP]require_once(DIR . 'afile.php');[PHP]

This doesn't seem to work. Anyone know if this is possible??

Thanks
Adam

Marco van Herwaarden
15 Mar 2007, 21:25
Yes including a file is possible in a Scheduled Taks