PDA

View Full Version : cron and PHP


pdstein
07-15-1999, 01:28 PM
Hi folks,

Does the fact that PHP3 runs as an Apache module here rather than a CGI preclude me from executing a PHP3 script in a cron job?

- Paul

Justin
07-15-1999, 07:28 PM
/usr/local/bin/php scriptname.php

To prevent the printing of the Content header, add the -q switch:

/usr/local/bin/php -q scriptname.php

Hope this helps :)

------------------
Justin Nelson
FutureQuest Support