So you’ve found that it is impossible to run your scheduled / cron tasks from a Parallel’s subscription, sometimes resulting in having to create the task from the main hosting control panel and running them as root, right?
You assume the correct thing to do would be run each domain’s individual tasks from their own control panel, and you are right.
Since you have searched the internet and support sites all over, you will be surprised that this is a one step fix. Really!
Assuming your tasks run properly using the root user, this will be a simple fix for you.
1. From the domain control panel, select ftp access, and change the access to the server to /bin/bash
Save and you can stop pulling your hair. That’s it!
Re-enable all your tasks, remember to disable the root ones, and you should be good.
Remember To Call Your Scripts with the appropriate program:
/usr/bin/php -q /var/www/vhosts/domain.com/cgi-bin/crontasks/cron.php
/usr/bin/wget -qq -O /dev/null http://domain.com/script.php
/usr/bin/curl -sL http://domain.com/script.php >/dev/null
If you still find that you, “Can’t run php file from plesk scheduled tasks” please let us know and we will create step by step instructions on how to do this. If all this fails, you can try this article to see if it helps.