On Thursday 20 May 2004 11:35 am, Jay Blanchard wrote: > At the command line type "which php" and it will return the full path to > php. Modify your line in the crontab with the full path... > > 0 6 * * * /usr/local/bin/php > /home/www/project/app_cron/follow_up_new_members.php
I always put the #!/usr/local/bin/php at the top of all my command line php scripts. Mine is actually #!/usr/bin/php. Then chmod 755 the file so that it can execute. James Hicks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php