.ps 55,75 .lm 10 .ap .center NIGHTJOB .literal Robert Goldstein Eye Research Institute of Retina Foundation 20 Staniford St. Boston, MA 02114 (617) 742-3140 .end literal This command file runs continuously. Its purpose is to automatically queue nightly, monthly, and half-monthly processes. It is loaded with our site-dependant processes and we are submitting it to DECUS with the idea that the skeleton structure can be useful to other sites, where they would replace our nightly processes with their own. It works by waking up every hour and checking the time. If it finds that it is between 12am and 1am, it then submits the nightly work. The nightly jobs are synchronized, so that the next one is not submitted until the previous one is finished. After the nightly work is done, it then checks if it is the 1st day of the month. If it is, then it submits the monthly jobs. The monthly stuff is still unsynchronized, although we intend to synchronize them at some point. The day is checked again, and the stuff for the 15th of the month is also processed.