home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD2.bin / bbs / comm / timer-1.04.lha / 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.