NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-57
EVERY Job Attribute
•
For information about how the scheduler treats a recurrent job that fails, see
IFFAILS Job Attribute on page 7-64, RESTART Job Attribute on page 7-95, STALL
Job Attribute on page 7-102, STOP-ON-ABEND Job Attribute on page 7-105.
•
For information about recurrent jobs that are also dependent jobs, see WAITON
Job Attribute on page 7-119.
Examples
•
This example shows the submission of a job whose EVERY attribute specifies
execution at five-minute intervals. The job runs when submitted, finishes executing,
then recurs with a next run time five minutes later than the original submission
time.
> TIME
October 3, 1994 16:41:58
> BATCHCOM $ZBAT; SUBMIT JOB, EXECUTOR-PROGRAM DELAY, STARTUP
"1 MINS", EVERY 0:05 HOURS
Job ZBAT-0044 Jobnumber 44 submitted
> BATCHCOM $ZBAT; INFO JOB 44, EVERY
JOB ATTRIBUTES for ZBAT-0044
jobnumber: 44
every: 0:05 HOURS
next-runtime: 03OCT94 16:42:40
> BATCHCOM $ZBAT; STATUS JOB 44
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
44 ZBAT-0044 205,70 341 EXECUTING DEFAULT
> BATCHCOM $ZBAT; STATUS JOB 44
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
44 ZBAT-0044 205,70 341 16:47:40 DEFAULT
•
This example shows the submission of a job that is to run at 5:15 a.m. and at 5:45
a.m., Monday through Friday:
12} SUBMIT JOB, EVERY 15,45 5 * * MON-FRI
Job ZBAT-0041 Jobnumber 41 submitted
13} INFO JOB 41, EVERY
JOB ATTRIBUTES for ZBAT-0041
jobnumber: 41
every:
minutes: 15,45
hours: 5
days: *
months: *
weekday: 1-5
•
This example shows the submission of a job that is to run at noon on February 14:
39} ALTER JOB 42, EVERY 0 12 14 FEB *, INFO JOB 42, EVERY
Job ZBAT-0042 Jobnumber 42 altered
JOB ATTRIBUTES for ZBAT-0042
jobnumber: 42
every: