Fritz MichaelG
Basic Pleskian
Under a particular domain, I had created the following scheduled task:
This worked fine, up until exactly 2013-10-29 11:22 UTC+1. Then I constantly got the following error:
Back then I logged into the shell and executed the command directly from the shell, to check whether it should work... and it did. The command kept failing though with that error message in the scheduled task. Now, over a month later, the error message changed to:
Still, the command is working fine directly from the shell.
I don't know what's going on, how can I execute php scripts from a scheduled tasks now? What has changed?
Code:
php -f /var/www/vhosts/somedomain/httpdocs/foo.php
Code:
Could not open input file: /var/www/vhosts/somedomain/httpdocs/foo.php
Code:
-: php: command not found
I don't know what's going on, how can I execute php scripts from a scheduled tasks now? What has changed?