Plesk 10 has a bug (feature?) where it inserts this line into the crontab file for each user (including non-chrooted users):
1 |
SHELL=/usr/local/psa/bin/chrootsh |
This effectively breaks the jobs, because it makes them try to run in a chroot jail, which won’t work. You can manually remove the lines but Plesk will restore them when the job is edited. A workaround, is to run this command on the server:
1 |
/usr/local/psa/bin/server_pref -u -crontab-secure-shell /bin/sh |
That changes the SHELL setting to a normal default value, which should run the jobs correctly. This is not a great fix, because it probably messes up cronjobs for users who really are chrooted but it may be useful to some.
–ben