Re: Can't run PHP cli script from Cron

From: Date: Fri, 28 Feb 2003 08:55:07 +0000
Subject: Re: Can't run PHP cli script from Cron
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137529@lists.php.net to get a copy of this message
At 05:30 28.02.2003, Justin Michael Couto said: --------------------[snip]-------------------- >Here is my crontab entry: > >* * * * * /path/to/file/file_name.php > >I also have > >* * * * * /path/to/file/bash_test_script --------------------[snip]-------------------- Did you try to run the php file interactively, from the shell prompt? You need at last this statement on top of your PHP files: #!/usr/local/php -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

« previous php.general (#137529) next »