- Server operating system version
- alma linux 9.7
- Plesk version and microupdate number
- 18.0.76#4
As you may be aware, cronjobs on Plesk are a mess. I am trying to work out how to run Cron PHP scripts. I have numerous issues previously mentioned on this forum with some mixed results and some badly long winded solutions to the way Plesk chooses to deal with Cronjobs .
Anyways, some cronjobs work ok. Others do not. No cron jobs ever work from the Plesk scheduled task GUI.
I am looking into the
file and seeing references to
. Within these I see multiple cron commands but they HAVE DIFFERENT SHELLS.
So; both of these shells are present and both of these Cronjobs are present but I can't confirm either of these Crons work in the wild.
WHICH SHELL IS MORE LIKELY TO SUCCEED?
WHY ARE THEY DIFFERENT?
Anyways, some cronjobs work ok. Others do not. No cron jobs ever work from the Plesk scheduled task GUI.
I am looking into the
Code:
/var/logs/cron
Code:
/var/spool/cron/<account>
MAILTO="[email protected]"
SHELL="/bin/sh"
#@desc: CalProcessing
<line removed as can't post to forum>
MAILTO="[email protected]"
SHELL="/usr/local/psa/bin/chrootsh"
#@desc: Cal Processing 2
<line removed as can't post to forum>
So; both of these shells are present and both of these Cronjobs are present but I can't confirm either of these Crons work in the wild.
WHICH SHELL IS MORE LIKELY TO SUCCEED?
WHY ARE THEY DIFFERENT?