• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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