home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 376_01 / os2tool.000 / ALARMFLE.TXT < prev    next >
Text File  |  1992-08-13  |  2KB  |  53 lines

  1.                                  ALARM-FILE FORMAT [OS/2 ONLY]
  2.      
  3.      NAME ALARM  FILE FORMAT  - This  document  describes  the
  4.      alarm-commands file format
  5.      
  6.      SYNTAX
  7.      
  8.      # comment line
  9.      ; comment line
  10.      CONTINUE
  11.      QUIT
  12.      BREAK
  13.      time message
  14.      +time message
  15.      
  16.      USAGE
  17.      
  18.      Alarm can  be given  its arguments  in a  file.  You  can
  19.      comment out  lines by  preceding them with either # or ;-
  20.      characters. This  is an  easy way  to temporarily disable
  21.      some commands.
  22.      
  23.      The CONTINUE-command  is most  useful at  the end  of the
  24.      file. When  this command  is read,  the file  is  started
  25.      again from the beginning. You can use it situations where
  26.      the machine  is not  shut down for the night and you want
  27.      to have the same alarms every day.
  28.      
  29.      When the  QUIT or BREAK keywords are recognized, the file
  30.      is immediately closed and the alarm-command stopped.
  31.      
  32.      Two time  formats  are  supported.  The  first  list  the
  33.      absolute  time   in  hh:mm:ss   -format,  where  hh=hour,
  34.      mm=minute, ss=second.  The time  is parsed  from left  to
  35.      right. That is a two part time represents hh:mm and a one
  36.      part time  represents hours  only.  The  time  format  is
  37.      parsed from left to righ. That means that a two part time
  38.      entry is  understood as  hh:mm and one part time entry is
  39.      hh.
  40.      
  41.      The second  format is given relative to the current time.
  42.      This format is identical to the first format, except that
  43.      it starts with a plus (+).
  44.      
  45.      EXAMPLES
  46.      11:00:00\n\n Lunch!
  47.      13:00:00 Call George
  48.      17:00:00 \n\n The day is done.
  49.      
  50.      
  51.      SEE ALSO
  52.      until, at
  53.