Scheduled Tasks Not Running In Plesk 10 & Newer Print

  • Plesk, Linux, Servers
  • 7

Problem:

When trying to run scheduled tasks in Plesk 10 or 11, you get the following errors:

/usr/bin/php:No such file or directory (Assuming you attempted the absolute path approach)

or

-: php: command not found (Direct path approach)


Solution:


Go to your SSH console and login as root.

Execute the following command:

/usr/local/psa/bin/server_pref-u-crontab-secure-shell"/bin/sh"


Background:

The documentation is here, but the command referenced on page 166 is wrong.

http://download1.parallels.com/Plesk/PP10/10.2.0/Doc/en-US/pdf/plesk-10-administrator-guide.pdf

Thanks to Shaun Ewing for this post:

http://shaun.net/2011/09/solving-plesk-10-3-1-cron-issues/

If the above solution does not work, you may try:

Enabling /bin/bash/ access over SSH fixed the issue, limiting access to a whitelist of IP address

Was this answer helpful?

« Back