This subject always comes up twice a year, so I'll post this to the list:
This how I handle the time change.
I have scheduling software (SLEEPER) xeq this everyday, at 1:59AM. Now I never need to think about.
!comment Check whether to go on or off daylight savings time
!if hpday = 1 and hpmonth = 10 and hpdate > 24 then
! SETCLOCK TIMEZONE = W5:00
! TELLOP *********************************************
! TELLOP Changing the system clock to STANDARD TIME.
! TELLOP The clock will S L O W D O W N until
! TELLOP we have fallen back one hour.
! TELLOP *********************************************
!elseif hpday = 1 and hpmonth = 4 and hpdate < 8 then
! SETCLOCK TIMEZONE = W4:00
! TELLOP *********************************************
! TELLOP Changing the system clock to DAYLIGHT TIME.
! TELLOP The clock jumped ahead one hour.
! TELLOP *********************************************
!endif
!showclock
--
Michael Anderson
Spring Independent School District
16717 Ella Boulevard
Houston, Texas 77090-4299
office: 281.586.1105
fax: 281.586.1187
-
>>> "Newton, Ernie" <[log in to unmask]> 10/26/01 05:15PM >>>
Greetings,
What is the cleanest way to set the system clock back one hour?
Reading the manual, it seems the best way is to put the command SETCLOCK in
a job to run at a scheduled time.
Can I just say, "SETCLOCK CORRECTION= -3600"? Or, should I use the GRADUAL
parameter?
Is it best to use a job, or can I just log on from home via a modem and
issue the command?
Thanks,
Ernie, "why did they take away CLKPROG", Newton
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|