About Us  |  Blog  |  Hosting Partners  |  Legal  |  Portal Login

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Crons Running 1 Hour Off...
Mary B
post Nov 11 2003, 11:41 PM
Post #1


Celery
*

Group: Members
Posts: 20
Joined: 3-September 03
Member No.: 9,975



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.
Go to the top of the page
 
+Quote Post
lpirlet.net
post Nov 12 2003, 02:07 AM
Post #2


Master
***

Group: Members
Posts: 379
Joined: 8-April 02
From: Minneapolis, MN
Member No.: 1,981



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


--------------------
Best,
Jeremy

"If there's one thing I know, it's never to mess with mother nature, mother in-laws and, mother freaking Ukrainians."
Go to the top of the page
 
+Quote Post
Mary B
post Nov 13 2003, 12:45 AM
Post #3


Celery
*

Group: Members
Posts: 20
Joined: 3-September 03
Member No.: 9,975



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.
Go to the top of the page
 
+Quote Post
mktw
post Dec 5 2003, 12:49 AM
Post #4


Enlightened
*

Group: Members
Posts: 93
Joined: 5-October 02
Member No.: 4,267



after running the above commands, restart the cron service.

service crond restart
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 22nd November 2009 - 03:13 AM
 

Dedicated Servers

Managed Hosting

Colocation

Business Solutions

Why The Planet?

Contact Us