Managing a calendar definition from the Orchestration CLI

In this topic you can find the syntax to create a calendar definition.

In a HCL Universal Orchestrator distributed environment, jobs can be defined either independently from job streams or within a job stream definition.

Each calendar definition has the following format and arguments:

Syntax

$calendar
[folder/]calendarname
     [“descriptionˮ]
     date [...]

[folder/][calendarname ...]

Arguments

[folder/]calendarname
Using this command, you can define the name of the calendar.

The name must start with a letter, and can contain alphanumeric characters, dashes, and underscores.

In this field, do not use any of the words specified in Installing command line.

descriptionˮ
Using this command, you can specify a description for the calendar.

The content must be enclosed within double quotation marks. To use quotation marks ("), place a backslash (\) before.

date [...]
Using this command, you can define the dates when job streams do or do not run. The dates must be separated by spaces and the default format is mm/dd/yy. For further information, see: Installing command line.
In the following example you can find three calendar definitions. They are respectively named monthend, paydays, and holidays.
$calendar
monthend 
     "Month end dates 1st half 2022"
     01/31/2022 02/28/2022 03/31/2022 04/30/2022 05/31/2022 06/30/2022
/hr/paydays
     01/15/2022 02/15/2022
     03/15/2022 04/15/2022
     05/14/20229 06/15/2022
holidays
     01/01/2022 02/15/2022 05/31/2022