The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Back-to-Back Connection using HBAs aldowsary IP Networking 3 11-28-2008 10:21 PM
back to back printing in UNIX amirthraj_12 AIX 3 05-06-2008 07:42 AM
Linux Going Big Time and Prime Time Against Windows, UNIX (WSJ) (Addict 3D) iBot UNIX and Linux RSS News 0 06-21-2007 04:10 PM
Start time/end time and status of crontab job thambi Shell Programming and Scripting 3 05-16-2007 10:24 AM
How To Provide Time Sync Using Nts-150 Time Server On Unix Network? pesty UNIX for Advanced & Expert Users 2 03-22-2007 02:20 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-25-2002
Cameron's Avatar
Cameron Cameron is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 499
Question Rolling back time

Hi all,

Have a small problem.
Back in October the pervious sys-admin (of a client's company) made the necessary adjustments to the system clock for daylight savings (Sydney time - +11 GMT).

As far as I can gather, they just amended the time - NO TIMEZONE !?!

Is there an effective and safe way that I might be able to roll-back the system-clock without droping the system altogether?

The system is (I believe) SCO OpenServer 5.0.5..

Any assistance with this will be appreciated as the rollback date is at the end of this month.
  #2 (permalink)  
Old 03-25-2002
PxT's Avatar
PxT PxT is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
If you use xntpd to set the time, it can gradually slew the clock over several days or weeks (depending on how far out of whack it is)
  #3 (permalink)  
Old 03-25-2002
chenly chenly is offline
Registered User
  
 

Join Date: Mar 2002
Location: Minneapolis
Posts: 56
Talking xntpd

Yes, xntpd is the best way to get the time back in whack.
  #4 (permalink)  
Old 03-26-2002
Cameron's Avatar
Cameron Cameron is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 499
Thanks guys.

You wouldn't happend to know of any examples/web-pages for this sucker?
  #5 (permalink)  
Old 03-26-2002
Ivo Ivo is offline
Registered User
  
 

Join Date: Jan 2002
Location: Amsterdam
Posts: 21
Here's a link on NTP - Network Time Protocol from the FreeBSD Handbook:
http://www.freebsd.org/doc/en_US.ISO...dbook/ntp.html
  #6 (permalink)  
Old 03-26-2002
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
Ideally, you want to set your system time to Zulu Time and then set your timezone variable so that your local software handles everything right for your locale. I would try hard for that solution. But in this thread we saw that peter.herlihy had a problem with an unusual timezone too. Most modern variants of unix now have very programmable timezone software. But some older versions only really support US timezones well.

It may be that if you use ntp to sync your clocks that you are left with no way to display the correct local time. If so, you may be forced to misalign your system clock. This is unfortunate, but it's what I would do if I were forced into it. If this is the case, you do do not want ntp.

When one of my system clocks is very far off for some odd reason, I do not patiently wait for ntp to correct the situation. I want instant gratification.

So to answer your original question, kill cron, then change the time, then restart cron. If cron sees the time change, it will catch up or stop running until it thinks it resyncs. Also be sure that no one is using "make". It's best to do this at a time when no one is using the system. If that's not possible, let the users know.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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




All times are GMT -4. The time now is 10:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0