home *** CD-ROM | disk | FTP | other *** search
- ;
- ; $VER: IncreaseUpTime 1.0 (23.09.93)
- ;
- ; Written 20. September 1993 by J.Matern
- ; This file is part of the 'UpTime'-package © by Jürgen Matern.
- ; The package may be redistributed under limitations discribed
- ; in the file 'UpTime.doc' which should have come with this
- ; distribution. Read this file for more information!
- ;
- ; Last changed: 23. September 1993
- ;
- set TodayUpTime 0
- if exists ENV:UpTime/UpTime
- set TodayUpTime `getenv UpTime/UpTime`
- endif
-
- set TodayUpTime `eval $TodayUpTime + 10`
- ; Modify this -----------------------^ value to 5,
- ; if you run this script every 5 minutes (and so on).
- ; Also change the value in the script 'OnOff'!
-
- date > ENVARC:UpTime/UpDate
- setenv UpTime/UpTime $TodayUpTime
- copy ENV:UpTime/UpTime ENVARC:UpTime/UpTime
- unset TodayUpTime
-