Reputation: 11338
I use this command to run php file from plesk scheduled tasks:
php -q httpdocs/cron.php
but is gives me an error:
php: command not found
I have linux/centos vps hosting and use exactly the same command on another hosting and it works fine.
Any ideas?
Upvotes: 1
Views: 3215