Article ID: 115009, created on Oct 24, 2012, last review on Jun 17, 2016

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 10.4 for Linux/Unix
  • Plesk 11.5 for Windows


We did not get run scheduled tasks with non-root users. The scheduled tasks are generating the errors like:

php: command not found
curl: command not found
/usr/bin/curl: No such file or directory
/usr/bin/php: No such file or directory

Secure shell settings used for customers' cronjobs are reset. As a result, some cronjobs fail or work incorrectly.

Example scenario:

Crontab shell was changed to '/bin/bash' via the command line:

# /usr/local/psa/bin/server_pref --update -crontab-secure-shell /bin/bash

In the customer panel a new scheduled task was created. As a result, the user's crontab looked like this:

# crontab -u testuser -l
*/5 * * * * sometask

PP was updated and yet another scheduled task was created. This made the user's crontab start looking like this:

# crontab -u testuser -l
*/5 * * * * sometask
*/3 * * * * anothertask

That is, the crontab shell setting was reset to its default value.


The issue is fixed in Plesk 11.5.30 MU #26 (PPPM-1163)


For Plesk 11.5.30 and 12 the issue had already fixed. Make sure that you have installed the latest microupdates.

For the previous versions restore the shell settings manually after the update/upgrade.

In the above example, it would mean re-running this command:

# /opt/psa/bin/server_pref -u -crontab-secure-shell "/bin/sh"

Note: The command will most probably be different for your case. It depends on what shell settings you wish to restore.

Search Words

We did not get run scheduled tasks with non-root users

scheduled task wont run under domain


/usr/bin/curl: No such file or directory


php: command not found

scheduled task parallels

scheduled tasks

/usr/bin/php: No such file or directory

Error: Unable to set up SMTP authorization: mailmng-server failed: "-":8: bad minut

cron jobs are not working under normal user but running under root

scheduled task wont run

dd0611b6086474193d9bf78e2b293040 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 e8756e9388aeca36710ac39e739b2b37 aea4cd7bfd353ad7a1341a257ad4724a 0a53c5a9ca65a74d37ef5c5eaeb55d7f 01bc4c8cf5b7f01f815a7ada004154a2 85a92ca67f2200d36506862eaa6ed6b8 46a8e394d6fa13134808921036a34da8 bd7fc88cf1b01f097749ae6f87272128 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7

Email subscription for changes to this article
Save as PDF