Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-28-2006, 11:58 PM   #1
Registered: Feb 2006
Location: Cape Town,South Africa
Distribution: Fedora Core 8
Posts: 183

Rep: Reputation: 30
Cron jobs not executed at right time(persistent UTC?)

hi,i've searched the forums but could not find an answer for my cron.daily are scheduled to be executed at 04:02 am,but its only getting scheduled at 11:02 am.i assume its becuase of some weird UTC setting,but i checked my timezone,my hwclock and my system clock.everything seems fine,but still the jobs are being executed at wrong time..what can cause this?any help will be's some output........

$ hwclock
Wed 29 Mar 2006 07:45:07 AM SAST -0.063704 seconds

$ date
Wed Mar 29 07:45:02 SAST 2006

vi /etc/sysconfig/clock

Old 03-29-2006, 04:01 AM   #2
LQ Newbie
Registered: Mar 2006
Location: Brazil - Rio de Janeiro
Distribution: SUSE 10
Posts: 8

Rep: Reputation: 0

Hmmmmm which version do you have? Install a never version and try again It can be a hidden configuration file overriding your time zone. Itīs common nowadays due to duplicate/tons of configurations in different dirs!

Try to find other config files, like

(in root dir)
/# ls -r | grep cron*
(use recursive option in ls), if anything goes wrong, type ls --help.

And then use 'vi' or 'emacs' in the suspecting results. Also see if /etc files have any .local extension, as profile.local.

Good luck!
Old 03-29-2006, 11:27 PM   #3
Registered: Feb 2006
Location: Cape Town,South Africa
Distribution: Fedora Core 8
Posts: 183

Original Poster
Rep: Reputation: 30
Hi,thanks for the reply.It seems to be working fine now.all I did was reboot the pc yesterday and it dit the crons at the right time this morning.I don't know maybe i changed something somewhere as well,but i don't think so.Doesn't make sense,but its working now,so i guess all is fine...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting system time to UTC triley Linux - General 2 08-25-2009 07:56 PM
Accessing UTC time yashwantpinge Programming 1 02-22-2006 05:32 AM
Cannot set time/date to other time zone than UTC (Kubuntu) jamangold Ubuntu 1 12-23-2005 05:42 PM
Wrong UTC time sundaraz Linux - Newbie 4 10-21-2005 10:45 PM
Re: UTC Time unixfreak Linux - Newbie 2 08-30-2004 02:09 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration