Cron (Cronjob) funktioniert nicht PLESK

Wenn nach einem PLESK Update die Cronjpobs nicht mehr funktionieren, kann man das mit folgendem Befehl beheben. Das PLESK Handuch schreibt Folgendes:

If you trust your customers enough to allow execution of scripts in a non-chrooted environment, then you can select the required shell by issuing the following command in the console:

# /usr/local/psa/bin/server_pref -u -crontab-secure-shell „/bin/sh“

If you want to revert this setting and set again the default shell used by the system, issue the following command in the console:

# /usr/local/psa/bin/server_pref -u -crontab-secure-shell „“

Veröffentlicht am
Kategorisiert in PLESK