tags:

views:

90

answers:

0
* * * * * php /home/admin/public_html/domain.com/public/cron/route.php &>> /home/admin/public_html/domain.com/log/cron.log

I have that cron running every minute.

I want to store the errors that occur in route.php in cron.log

This works wonderfully when I run :

php /home/admin/public_html/domain.com/public/cron/route.php &>> /home/admin/public_html/domain.com/log/cron.log

through the command line manually. But when crontab runs it no errors gets stored in cron.log

the cron.log is owned by admin:admin and the permissions are set to 777 just to be sure.

anyone?