******************************************************* * * * THIS SOFTWARE WAS DEVELOPED WITH SUPPORT * * FROM THE NATIONAL INSTITUTES OF HEALTH: * * NIH CA06927 * * NIH CA22780 * * * * DIRECT INQUIRIES TO: * * COMPUTER CENTER * * THE INSTITUTE FOR CANCER RESEARCH * * 7701 BURHOLME AVENUE * * PHILADELPHIA, PENNSYLVANIA 19111 * * * * NO WARRANTY OR REPRESENTATION, EXPRESS OR * * IMPLIED, IS MADE WITH RESPECT TO THE * * CORRECTNESS, COMPLETENESS, OR USEFULNESS * * OF THIS SOFTWARE, NOR THAT USE OF THIS * * SOFTWARE MIGHT NOT INFRINGE PRIVATELY * * OWNED RIGHTS. * * * * NO LIABILITY IS ASSUMED WITH RESPECT TO * * THE USE OF, OR FOR DAMAGES RESULTING FROM * * THE USE OF THIS SOFTWARE * * * ******************************************************* * * * THIS SOFTWARE WAS DESIGNED FOR USE ON A * * PDP-11/70 OPERATING UNDER IAS V3.0 USING * * THE FORTRAN-IV PLUS COMPILER. * * * ******************************************************* S C H E D U L E . D O C ======================= The program SCHEDULE allows a system manager to schedule tasks to be run at specified times and days. For example, you may schedule a timesharing parameter be changed each weekday at 08:00, and again at 18:00 on weekdays, or that a file be printed each saturday at 20:00, etc. The SCHEDULE program takes its orders from the file: LB:[1,1]SCHEDULE.INP The entries in this file must be ordered by increasing time of day. The format of these entries is: Cols 1-7: Day of week flags. These seven binary indicators specify the day(s) of the week on which this order is too be executed. A zero indicates the order is NOT to be carried out that day, and a one indicates that the order IS to be carried out. Column 1 (one) corresponds to Sunday, 2 (two) to Monday, etc. Col 8: Blank. Cols 9-10: Hour at which task is to be performed. Col 11: Blank (or colon). Cols 12-13: Minute at which task is to be performed. Col 14: Blank. Cols 15-: Command line to be executed. This must be an MCR command line processed by a task other than MCR. Example file LB:[1,1]SCHEDULE.INP: 0111110 08:00 UTL /BQ:2 1000001 08:00 UTL /BQ:4 1111111 08:00 UTL /BQ/SH 0111110 09:00 PIP TT0:=LB:[1,1]GOODMORN.TXT 1111111 22:00 UTL /BQ:10 1111111 22:00 UTL /BQ/SH This file modifies the batch quantum to 2 at 8 am on weekdays, to 4 at 8 am on weekends, changes it back to 10 at 10 pm each day., and wishes the operator good morning at 9 am. Since each order is completed before the next begins, long orders should be avoided. Where absolutely necessary, long orders should be given ample time to complete before the next one is scheduled (this does not apply to orders scheduled for exactly the same time). When you bring your timesharing system up, RUNNL must have been initiated (see RUNNL.DOC). SCHEDULE may then be initiated by typing: SCI> INS SCHEDULE SCI> RUN/REAL .SCHED The task determines when its next order is, reschedules itself for that time, and exits. To build: --------- Execute the command file: SCHEDULE.CMD Prerequisites: -------------- IAS V3.0 timesharing FORTRAN-IV Plus V2.5 RUNNL (ICR)