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

    https://survey.webpros.com/

Cron going off at wrong time

K

KevinM40

Guest
I have just received my new server which has Plesk 8.6 installed. I have changed the timezone to my timezone however my cron commands seem to be triggered by a different time as they are out by about 4 hours (which was the timezone that was initially set on the server).

Any ideas on how to correct this?
 
Try to setup necessary timezone via Server -> System Date and Time
 
Try to setup necessary timezone via Server -> System Date and Time
Yes, that is what I had done, and the time is correct (even when I SSH into the server and do a 'date' command it gives the correct time) but the plesk cron command is going off 4 hours differently.
 
I should add that in the Server-> System Date & Time it is synchronized with time.nist.gov.
 
Are we talking about cron jobs with specific times, or ones in cron.daily et al?

If it is cron.daily that's the problem, have a look in /etc/crontab

For reasons that are a mystery to me, on one of our machines cron.daily is set to run at 5:14am, while all others are set to run at 2am-ish.

Similarly cron.hourly is set to run at 29 mins part the hour on one machine, and at 3 minutes past the hour on others.

I've never bothered to change it mind you :) I guess the 5:14/29mins must have been the default at the time of the install of the "late" server, but subsequently the defaults changed.

Faris.
 
Back
Top