• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Some upgrade moved /etc/cron.hourly out of /etc/crontab but didn't copy the $PATH

Frater

Regular Pleskian
I used to have several scripts running in /etc/cron.hourly and they stopped.
I investigated this and it turned out that commands out of /usr/local/sbin or /usr/local/bin aren't working anymore because the system can't find these commands.

I inspected /etc/crontab and these 2 folders are still in $PATH

I then noticed that /etc/cron.hourly was taken out of /etc/crontab and the entry got moved to /etc/cron.d/0hourly
The $PATH to /usr/local/sbin and /usr/local/bin were not copied
I changed /etc/cron.d/0hourly and now it's working again.

Oh Odin, can you correct that upgrade?
 
Hi,

I do not think Plesk would make these changes.
Could you please tell us which Distrbution, and which Plesk version you are using?

Regards,
Kristian
 
It's Plesk 12.0 on CentOS release 6.7 (Final)

I think you're right and some CentOS upgrade did that.
When I first installed that system I added these folder in /etc/crontab 's $PATH
 
Back
Top