Help - Search - Members - Calendar
Full Version: Crons Running 1 Hour Off...
The Planet Forums > Control Panels > cPanel/WHM
Mary B
I have setup all of my cron jobs and for some strange reason they are all running 1 hour off. Such as, I setup a cron to run at midnight every night - instead it runs at 1:00am every night. This is happening with every cron job setup.

I have checked my "Server Time" through cPanel and it is set correctly.

I know, at least my crons are running, but it is a very big nuisance. Any help would be greatly appreciated.

Mary B.
lpirlet.net
QUOTE
Originally posted by Mary B
I have setup all of my cron jobs and for some strange reason they are all running 1 hour off.  Such as, I setup a cron to run at midnight every night - instead it runs at 1:00am every night.  This is happening with every cron job setup.

I have checked my "Server Time" through cPanel and it is set correctly.

I know, at least my crons are running, but it is a very big nuisance.  Any help would be greatly appreciated.

Mary B.

It seems people with CPanel are having this problem... I don't have cpanel and nobody has been able to confirm to me if this works, but it sounds like you have a clock on standard time, and one on daylight savings... You have two clocks, a hardware (motherboard) and a system (operating system)... Try syncing them to see if that fixes it... PLEASE let me know if it does, because this seems to be getting more and more common.

# /usr/bin/rdate -s time.nist.gov
# /sbin/hwclock --systohc
# /sbin/hwclock
# date
Mary B
Jeremy,

Arg! I tried running the above commands and still the crons are running one hour off. As I said before, the time in cPanel is correct, and was correct after I ran the commands you suggested.

Still... nothing has changed.

mad.gif

Mary B.
mktw
after running the above commands, restart the cron service.

service crond restart
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.