PDA

View Full Version : Cron (require_once - Include file)


CooganA
03-15-2007, 06:10 PM
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
03-15-2007, 07:25 PM
Yes including a file is possible in a Scheduled Taks