Thursday 14 April 2005 2:34:56 am
Hi, I'm having trouble getting runcronjobs.php to run as a cron job. The problem is that when the cron job runs the script, it spits out: PHP is currently using the 'cgi' interface. Make sure it is using the 'cli' interface. The command I'm running in the cron job is: cd /home/username/ezpub_root;php /home/naturno/www/mittnettsted/runcronjobs.php I've tried both with and without the -C flag in the php part of the command. Any idea what I need to do in order to run PHP using the cli interface? Thanks in advance !
Sincerely,
Eirik Alfstad Johansen
http://www.netmaking.no/
|