Please tell me what am I doing wrong, why doesn't this run:
3 * * * * /usr/bin/php -q /var/www/CRON/hourly.php > /var/www/logPHP.log
logPHP.log is made, but is empty when this is run. If I replace the 3 with an *, the script starts running but never ends.
When I copy this in Terminal:
/usr/bin/php -q /var/www/CRON/hourly.php > /var/www/logPHP.log
Everything runs smoothly as it is supposed to.
Ubuntu 10.04 LTS, PHP 5.3.2-1ubuntu4.9 with Suhosin-Patch (cli)
.shwith that command and running that script via cron? – Marek Sebera Aug 28 '11 at 9:13