• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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