home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 2 / goldfish_vol2_cd1.bin / files / comm / misc / timer / timer.vlt < prev    next >
Text File  |  1993-08-15  |  348b  |  18 lines

  1. /*
  2. call hoovers timer program with interval set according to system time
  3. */
  4. options results
  5. curtime =  time()
  6. weekday = date('Weekday')
  7. say weekday
  8. hour = substr(curtime,1,2)
  9. if hour >= 18 && hour <= 6 
  10.   interval = "12"
  11. else 
  12.    interval = "8"
  13. endif
  14.  
  15. address command 'Timer -log -x 405 -y 235 -firstscreen -autostart -interval '||interval
  16.  
  17. exit 0
  18.