************************************************************************** * * AUTO_RUN.PRG runs other programs at specified times. It requires * a command file, which has command lines of the following form: * * time,priority,program_to_run,command_tail_for_program_to_run * * The time is in the form: * * hh:mmx * * where hh stands for the hour (1-12), mm stands for the minute (00-59) * and x is a or p for am/pm (I never liked military time). * * The priority can be 0-65535. 0 means no change (the task runs at the * same priority as AUTO_RUN). * * A complete pathname is required for the program to be run, unless it * resides in the same drive/directory that AUTO_RUN was executed from. * The command tail can be 125 chartacters long and is passed verbatim * to the program being executed. If there is no command tail, there * must still be a comma after the command name. * * There can be any number of lines in the AUTO_RUN command file. After * it executes a program, it searches the file for the next program * to be executed. It then waits for the given time to be reached, * executes the program and scans the file again. Note: the command file * must be in ASCII format, with CR(LF)s at the end of each line. The * pathname to the command file is passed to AUTO_RUN on a command line. * * ATTENTION: no two commands can have the same time to run. They should * be at least 1 minute apart. Since seconds are not counted, AUTO_RUN * could end up executing the same program over and over for an entire * minute. To keep this from happening, as soon as it runs a program it * updates its time counter by one. Thus it won't match the program it * just ran, but will match one that is to be run in the next minute. * ************************************************************************** 12:04a,0,node_td.ttp,n:\node1\c\powerdos\the_time.dat