Reusable Server Kernel

Problem 18 (Sug): Timer Line Driver for RSK

==================== 1999-04-15 16:35:14 (-04.00) ====================
 
Name:        ** Suppressed **
Company:     ** Suppressed **
Telephone:   ** Suppressed **
E-mail:      ** Suppressed **
 
Text:
 
In your RSKMAIN, create a thread that will run for the life
of your server.  Have it use CMS Timer Services.
Brian
==================== 1999-04-15 10:14:56 (-04.00) ====================
 
Name:        ** Suppressed **
Company:     ** Suppressed **
Telephone:   ** Suppressed **
E-mail:      ** Suppressed **
 
Text:
 
Oops, my cut-and-paste didn't pick up all the text I wanted
to have. It should read:
Suggested format:
1) add a TIMER line driver to RSK
2) command format:
     TIMER START <service_name> <timer_specification>
     TIMER QUERY
     TIMER LIST
     TIMER STOP <service_name>
where
  <timer_specification> is
      a)[+] hh:mm:ss[AM|PM]
      b) mm/dd/yy [+] hh:mm:ss[AM|PM]
      c) DAILY ....
      d) TODAY ....
      e) TOMORROW ....
      f) MON-FRI ......
      g) SAT-SUN ......
      h) WEEKDAY ....
      i) WEEKEND .....
      j) WEEKLY ......
      k) MONTHLY ......
==================== 1999-04-15 10:11:16 (-04.00) ====================
 
Name:        ** Suppressed **
Company:     ** Suppressed **
Telephone:   ** Suppressed **
E-mail:      ** Suppressed **
 
Text:
 
Many RSK-based servers need to perform certain tasks on a
regular or periodic basis (e.g., cleaning up an SFS file 
pool at midnight every night, doing a data space backup 
every Friday morning). A 'timer' line driver would make
coding these services easier for the server author.
Suggested format:
1) add a TIMER line driver to RSK
2) command format:
     TIMER START <service_name> <timer_specification>
     TIMER QUERY
     TIMER LIST
     TIMER STOP <service_name>
where
  <timer_specification> is
      a)[+] hh:mm:ss[AM|PM]
      b) mm/dd/yy [+] hh:mm:ss[AM|PM]
      c) DAILY ....
      d) TODAY ....
      e) TOMORROW ....
      f) MON-FRI ......
      g) SAT-SUN ......
      h) WEEKDAY ....
      i) WEEKEND .....
      j) WEEKLY ......
      k) MONTHLY ......
When the timer event expired, the line driver would then
invoked the specified service. The line driver input to
the service could possible be the current date and time.


[ Help | Summary | Previous | Next ]