[VAX85C.NSWC]AAAREADME.TXT SCHEDULER UTILITY ----------------- Did you ever forget to set or reset Daylight Savings Time? Do you have weekly or monthly tasks to do or meetings to attend that you need to be reminded about every time? Then SCHEDULER is for you. A procedure runs every midnight, reading a file of events (DCL commands), each with an expression telling when it should be run. Expressions can be complex, like: * Run the next-to-last business day of every month * Run the day after the fourth Monday of every month (which could be the fourth or fifth Tuesday) * Run the day before every holiday occurring on a weekday * Run every Monday, every day, every business day, every week- day (i.e. every business day plus weekday holidays), the third of every month, every day in March, etc. SCHEDULER.COM will need to be configured to your site, and you will have to create a SCHEDULER.DAT file with your events. A sample SCHEDULER.DAT file is included to show some of the cap- abilities. See notes in SCHEDULER.* for more information. SCHEDULER is really powerful when used with REMINDER. REMINDER UTILITY ---------------- This is yet another appointment-reminding utility. This one reminds you when you log in, and 'tickles' you at fixed inter- vals as the time of an appointment approaches. The reminder message tells you when the appointment is, and what it is. The message is formatted in reverse video for VT100+ terminals and the bell rings. It is very easy to add, remove, and show appointments. For further information, see REMINDER.HLP. See REMINDERS.DOC for installation instructions. This utility uses a detached process (which is usually hibernating) to send the 'tickler' messages. Use BLDREMIND.COM to rebuild the pack- age from its sources. This product has appeared on previous SIG tapes. It has been updated extensively to work correctly on VAXclusters, to eas- ily allow users to give other users permission to access their appointment data, to allow all inputs on the command line, etc. SUBMIT_IF and FINDJOB --------------------- SUBMIT_IF is a command procedure which SUBMITs a job if the job is not already in an input queue. I use SUBMIT_IF in my SYSTARTUP.COM to ensure that important batch jobs are queued, but not more than once. I also use it in some of my SCHEDULER events (see SCHEDULER above). FINDJOB is a program which will search the input queues for a given jobname. It is used by SUBMIT_IF, but can be used independently for other uses. Run BLDFINDJOB.COM to recompile and relink FINDJOB. NOTIFY COMMAND -------------- This is a general message-sending utility. It can be used in a batch process to send a message to the submitting user. It can be used in an interactive command procedure to format a message on the screen (centered, bold reverse video, bells). It can be used by the system managers to send messages to ter- minals (either by terminal name or by user name); it produces a more readable message than REPLY. See NOTIFY.HLP and the comments in NOTIFY.FOR for more information. Use procedure BLDNOTIFY.COM to recompile and relink NOTIFY. The SYSTEM.DIS file contains a list of system managers to whom users can send messages. NOTIFY works cluster-wide. NSWC1LIB.OLB ------------- Object library used in building the above programs. This lib- rary is built from LIB1.FOR and LIB*.MAR. Some of the routines may be useful to you; they are documented by prologues in the sources. ------------------------------------------------------------------ Everything was built with FORTRAN V4.3 and VMS V4.1 Submitted by: Alan L. Zirkle Naval Surface Weapons Center Code K53 Fall 1985 Dahlgren, Virginia 22448