|
84757 packages online
|
|
|
|
util/time/WatchDST1_1.lha |
|
No screenshot available
|
|
This little tool is almost a bug fixed clone of the tool "ClockDaemon".
Features:
---------
- keeps the hardware clock at GMT,
- patches battclock.resource so that reads and writes to the hardware
clock are transparently adjusted,
- handles daylight savings time,
- detects DST changes while computer is running and during startup,
- optionally runs a command when DST changes,
- includes DSTCheck program for use in scripts,
- optionally patches locale.library to give correct offset during DST
Installation:
-------------
Copy WatchDST and DSTCheck to C:, and add
Run <NIL: >NIL: WatchDST <command> LOCALEPATCH
to your User-Startup, where <command> is a program you want to be executed when
daylight savings time begins or ends. Store an appropriate (see timezone.doc)
timezone string in ENVARC:TZ.
The switch LOCALEPATCH will make WatchDST patch the OpenLocale()
function in locale.library. When OpenLocale() is called with a NULL
argument to get the default locale setting, the field loc_GMTOffset will
be set to the correct value. Caution: Some clever programs make a DST
correction of their own. This will blow up now, so you have to disable
that.
Reboot and reset your clock to your local time via the Time preferences
program.
WatchDST notices the start or end of daylight savings time regardless if your
computer is running at that time or not. (If it is not running, the change
command will be executed the next time WatchDST is started.)
ATTENTION: The command you want to have executed must terminate or WatchDST
will hang!
|
Contents of util/time/WatchDST1_1.lha
PERMSSN UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 11894 21700 54.8% -lh5- 69d4 Oct 31 2004 WatchDST/bin/DSTCheck
[generic] 15793 29348 53.8% -lh5- 5bb5 Apr 1 2004 WatchDST/bin/TimeZoneTest
[generic] 1661 3610 46.0% -lh5- eceb Mar 31 2004 WatchDST/doc/timezone.doc
[generic] 3755 9302 40.4% -lh5- ece6 Oct 30 2005 WatchDST/doc/WatchDST.dok
[generic] 27 27 100.0% -lh0- 27a1 Mar 31 2004 WatchDST/ENV/TZ
[generic] 14933 28412 52.6% -lh5- 8ba1 Oct 30 2005 WatchDST/bin/WatchDST
[generic] 913 1806 50.6% -lh5- 1107 Oct 31 17:45 WatchDST/doc/WatchDST1_1.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 7 files 48976 94205 52.0% Nov 3 16:19
|
|
|
|
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminetaminet net> |