Previous Topic

Next Topic

Book Contents

Book Index

Time based temporary variables

In addition there are time-based temporary variables that can be used to bring time, day, month or year into the evaluation of variables. . For instance if you only want to suppress a job run if it is the 5th of the month you can enter the following line in a resource list:

IF $DAY==5 THEN SUPPRESS_RUN

The time-based temporary variables are:

$DATE - Format YYYYMMDD. Example: 20160807.

$YEAR - Format YYYY. Example: 2001.

$MONTH- Format MM. Example: 05

$DAY- Format DD. Example: 28

$TIME- Example: 1705 (for 5:05 P.M.)

$HOUR- Example: 17 (for 5:00 P.M.)

$MINUTE- Example 05 (for 5 minutes after the hour)

See Also

Variables used in Resources and End Actions

Predefined Global Variables

Runtime Temporary Variables

Parameter variables