home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / UTILS2 / X10XA2.ZIP / CHARGER.CMD < prev    next >
OS/2 REXX Batch file  |  1994-01-15  |  451b  |  19 lines

  1. #       This file demonstrates how a battery charger can be controlled 
  2. #       through the use of XA's command files. 
  3. #
  4. #       Invocation:
  5. #               XA f=charger.cmd
  6. #                       or
  7. #               CHARGER.BAT
  8. #
  9. #
  10. #       First, define the charger's address
  11. DEFINE CHARGER  C5
  12.  
  13. #       Turn it ON immediately...
  14. CHARGER ON
  15.  
  16. #       Now create an event to turn it OFF 14 hours from now...
  17. CHARGER OFF NOW 14:00
  18.