Cron jobs and PHP?

I have a php script that is run through cron via ‘/usr/bin/php -f /path/to/php/file.php’. When added to an accounts cron page, the logs say it gets executed, but nothing happens. Any ideas?

Hi Ghost,

My recommendation would be to add some debug output if you haven’t that either writes to stderr (so that the error gets sent to the email of the crontab user) or creates a file so that you can see it running.

You also might want to copy+paste the crontab line here and maybe we can spot some problems.