Article ID: 112905, created on Nov 28, 2011, last review on May 11, 2014

  • Applies to:
  • Plesk 11.x for Linux
  • Plesk 10.x for Linux


Parallels Plesk Panel sends mail with the following error:

"Cron <root@$hostname> test -x /usr/sbin/anacron || ( cd / && run-parts --report
/etc/cron.daily ) (failed)"

[: 9: 1: unexpected operator
[: 14: 1: unexpected operator
run-parts: /etc/cron.daily/60sa-update exited with return code 1"


On Debian, /bin/sh is a symlink to "dash."
# ls -la /bin/sh
lrwxrwxrwx 1 root root 4 2010-06-14 06:06 /bin/sh -> dash

The script can fail to execute if it contains #!/bin/sh as hashbang.


To fix this error, update the file /etc/cron.daily/60sa-update.
Replace #!/bin/sh with #!/bin/bash.

The script for the Spamassassin update should then be able to execute without error.

a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 dd0611b6086474193d9bf78e2b293040 56797cefb1efc9130f7c48a7d1db0f0c 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF