HP3000-L Archives

November 1996, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ron Tilby <[log in to unmask]>
Reply To:
Ron Tilby <[log in to unmask]>
Date:
Fri, 1 Nov 1996 08:46:49 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
Patrick,
Here's the batch job that I use to switch to/from daylight savings time.
I have this job scheduled to run every Sunday at 02:00
It turns out that you don't need MPEX to do this.
You'll need to change the TIMEZONE variable to the correct value for
your timezone.

!JOB TIME,MANAGER.SYS,PUB;OUTCLASS=,1;PRI=DS
!COMMENT ****************************************************
!COMMENT * Change the system clock TO MOUNTAIN STANDARD TIME
!COMMENT * on the last Sunday in October.
!COMMENT * Change the system clock TO MOUNTAIN DAYLIGHT TIME
!COMMENT * on the first Sunday in April.
!COMMENT * 95/10/25 RPT - Initial development
!COMMENT ****************************************************
!COMMENT * This job should be streamed at 2:00 am on the proper
Sundays.
!COMMENT * It will work fine if it is streamed every Sunday at 2:00 am.
!COMMENT ****************************************************
!COMMENT
!showclock
!if hpday = 1 and hpmonth = 10 and hpdate > 24 then
!  SETCLOCK TIMEZONE = W7:00
!  TELLOP *************************************************************
!  TELLOP Changing the system clock to MOUNTAIN STANDARD TIME.
!  TELLOP The clock will S L O W   D O W N until we have fallen back
!  TELLOP one hour.
!  TELLOP *************************************************************
!elseif hpday = 1 and hpmonth = 4 and hpdate < 8 then
!  SETCLOCK TIMEZONE = W6:00
!  TELLOP *************************************************************
!  TELLOP Changing the system clock to MOUNTAIN DAYLIGHT TIME.
!  TELLOP The clock jumped ahead one hour.
!  TELLOP *************************************************************
!endif
!showclock
!EOJ

ATOM RSS1 RSS2