Lost Password?

Go Back   CodeCall Programming Forum > Software Development > General Programming

General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-25-2007, 09:00 AM
tymoty's Avatar   
tymoty tymoty is offline
Newbie
 
Join Date: Oct 2007
Posts: 3
Rep Power: 0
tymoty is on a distinguished road
Smile WHAT is wrong with WHICH clock in my machine?

I posted a thread many months ago, when my desktop clock (the KDE applet) was consistently 3 hours off, despite my timezone being correct and my BIOS clock being also correct.

Since then, I got that straightened out (off the top of my head I can't recall how, but it had something to to with the timezone and/or 'localtime/UTC').

The problem now:

Desktop clock applet is correct.
BIOS clock is correct.
The DATE command shows:
sasha@darkstarSSI:~$ date
Thu Sep 27 15:25:18 UTC 2007 (correct)

But I have noticed lately that my cron-jobs are running 3 hours late!?!

In the interest of saving electricity, I have been shutting down the computer most nights. I have it set to turn on by RTC at 6:45am because the daily backups are done by cron starting at 7:00am. However, by the time I get on the computer and then 10:00am rolls around, the darned backups start going.

AaAaAaRgh!! LOL, does anyone have a suggestion as to what the heck is wrong with which aspect of which time-keeper in this machine?? Maybe something to do with the hctosys or systohc on boot or shutdown? I don't know. And on the subject of the systohc and hctosys, do I *really* need either/both of them? Isn't the BIOS clock enough? Or maybe hctosys on boot, but no systohc on shutdown?

It's Slackware 11, E2160, umm.. The RTC is onboard, not external.. Not much else relevant to this..

Thanks! Very Happy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 10-25-2007, 12:02 PM
G_Morgan G_Morgan is offline
Guru
 
Join Date: Oct 2007
Age: 24
Posts: 408
Rep Power: 8
G_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura about
Default

You'll want to set the hardware clock to use localtime as opposed to UTC. This will solve any issues since both clocks will then be the same time. I'm not sure how to do this in Slackware.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-01-2007, 10:59 PM
Kaabi's Avatar   
Kaabi Kaabi is offline
Programming God
 
Join Date: Jul 2006
Posts: 884
Rep Power: 13
Kaabi is on a distinguished road
Default

I've never heard of clocks causing so many problems. I've always been good with fixing clocks of any sort, although your problem is the most advanced I've ever seen, ha ha. Did you work it out?
__________________
Cheap Airsoft Guns

If you are looking for high-quality, yet cheap, airsoft guns, then check out MrAirsoft.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript: Analog Clock TcM Javascript 20 05-28-2008 09:01 AM
Creating an analog clock with ActionScript AfTriX Tutorials 2 01-07-2007 02:19 AM
Creating a Clock AfTriX VB Tutorials 0 01-04-2007 01:53 AM
Cool LCD Clock AfTriX Javascript 2 01-04-2007 01:00 AM
6502 Machine Language Jonas General Programming 7 07-20-2006 06:47 PM


All times are GMT -5. The time now is 05:37 PM.

Contest Stats

Xav ........ 160.68
neerlin ........ 100
satrian ........ 100
delia ........ 100
chili5 ........ 70.08
morefood2001 ........ 36.91
MeTh0Dz|Reb0rn ........ 27.15
RyanTuosto ........ 20
gamiR ........ 19.64
John ........ 14.46

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 68%

Ads