Run cycle
A run cycle specifies the days that a job stream
is scheduled to run. A cycle is defined for a specific job stream
and cannot be used by multiple job streams. You can specify the following
types of run cycle:
- simple
- A specific set of user-defined days a job stream is run. A simple run cycle is defined for a specific job stream and cannot be used by other job streams.
- daily
- A run cycle that specifies that the job stream runs according to a day frequency and type that you set. For example, it might run daily, every three days, or just on working days.
- weekly
- A run cycle that specifies the days of the week that a job stream is run. For example, a job stream can be specified to run every Monday, Wednesday, and Friday using a weekly run cycle.
- monthly
- A run cycle that specifies that the job stream runs according to a monthly day or date that you set. For example, it might run every 1st and 2nd day of the month, every two months, or every 1st Monday and 2nd Tuesday of the month, every three months.
- yearly
- A run cycle that specifies that a job stream runs, for example, yearly or every three years.
- offset-based
- A run cycle that uses a combination of user-defined periods and offsets. For example, an offset of 3 in a period of 15 days is the third day from the beginning of the period. It is more practical to use offset-based run cycles when the cycle is based on cyclic periods. This term is only used as such in IBM Workload Scheduler for z/OS , but the concept applies also to the distributed product.
- rule-based
- A run cycle that uses rules based on lists of ordinal numbers, types of days, and common calendar intervals (or period names in IBM Workload Scheduler for z/OS. For example, the last Thursday of every month. Rule-based run cycles are based on conventional periods, such as calendar months, weeks of the year, and days of the week. In IBM Workload Scheduler for z/OS, run cycles can also be based on periods that you define, such as a semester. This term is only used as such in IBM Workload Scheduler for z/OS, but the concept applies also to the distributed product. You can also specify a rule to establish when a job stream runs if it falls on a free day.
Any of these run cycle types can be either inclusive or exclusive;
that is:
- inclusive
- A run cycle that specifies the days and times that a job stream is scheduled to run. Inclusive run cycles give precedence to exclusive run cycles.
- exclusive
- A run cycle that specifies the days and times that a job stream cannot be run. Exclusive run cycles take precedence over inclusive run cycles.