cDSCHEDULE Automated Job Submission System Guide and Reference �ManualD

SCHEDULE
Automated Job Submission System
Guide and Reference Manual



 o T Y  
PreviousContentsIndex



9

5.2.4 Setup notifications

BEach job can be configured to notify one or more users of certain Gevents (SUBMITTED, STARTED, DELAYED, COMPLETED, and FAILED) pertaining to the job.

@To arrange for notification upon the failure of job A1, use the following DCL command:

 

"
 B$ SCHEDULE MODIFY [DEMO.D]A1 /NOTIFY=FAILED:(JDOE,MAIL,BROADCAST)  




HEach job has a notification list that can be edited to specify the text >of the notifications of certain events pertaining to this job.

HTo edit the notification list for job A1, use the following DCL command:

 

"
 $$ SCHEDULE EDIT [DEMO.D]A1 /NOTICES  




.Within the editor enter the notification text:

 

"
 
BEGIN_FAILED AJob A1 has failed. Correct the cause of the failure and manually resubmit job A1. END_FAILED  




FTo confirm the notification information for job A1, use the following DCL commands:

 

"
  .$ SCHEDULE DIRECTORY [DEMO.D]A1/NOTIFY=FAILED  Job directory [DEMO.D]  A1 JDOE,Mail,Broadcast  Total of 1 job  #$ SCHEDULE TYPE [DEMO.D]A1/NOTICES  [DEMO.D]A1.notices       
BEGIN_FAILED AJob A1 has failed. Correct the cause of the failure and manually resubmit job A1. END_FAILED  




@

5.2.5 Scheduling the execution

HThe first job in the job sequence, job A1, is the one job that needs to Hbe scheduled to run. All of the other jobs are initiated by the results of job A1 and subsequent jobs.

HTo schedule job A1 to run at 9 AM of each workday, starting January 2nd (of 1996, use the following DCL commands:

 

"
 >$ SCHEDULE MODIFY [DEMO.D]A1/RESCHEDULING=(INTERVAL:1-00:00,- CALENDAR:WORKDAYS) B$ SCHEDULE MODIFY [DEMO.D]A1/GENERAL=NEXT_SUBMIT:02-JAN-1996:9:00       




HThe WORKDAYS calendar is one of the calendars supplied in the [DEFAULT] @directory. This calendar excludes all Saturdays and Sundays and Dholidays. If there is a WORKDAYS calendar in the [DEMO.D] or [DEMO] @directory, that calendar will be used in place of the [DEFAULT] ?directory calendar. The holidays are specified in the HOLIDAYS Acalendar. There is a HOLIDAYS calendar supplied in the [DEFAULT] Edirectory. This calendar will be superseded by a HOLIDAY calendar in !the [DEMO.D] or [DEMO] directory.

ETo confirm the scheduling for job A1, use the following DCL commands:

 

"
 -$ SCHEDULE DIRECTORY [DEMO.D]A1/RESCHEDULING Job directory [DEMO.D]  -A1 Interval=1-00:00:00.00, Calendar=WORKDAYS  Total of 1 job 4$ SCHEDULE DIRECTORY [DEMO.D]A1/GENERAL=NEXT_SUBMIT  Job directory [DEMO.D]  A1 January 2, 1996, 09:00  Total of 1 job    









 o V T Y  
PreviousNextContentsIndex