Question: Running PHP Processes within Crontab
I know there must be a guru in here somewhere who happens to know both PHP and crontab & how to run a PHP file from within cron. suexec is compiled within Apache.The file seems to run from a browser when I navigate directly to it but it doesn't run from within cron (Linux).
I do not see any errors, but I may be looking in the wrongplace. Sometimes running the command at the console will email the user@localhost to say "bash/sh: Command not Found 'php'". Sometimes it does not provide any errors at all.
Command I am trying to run as a cron job is:
Code:
*/5 * * * * php -q /path/to/command.php > /dev/null