Use the tacmd addCalendarEntry command to create the calendar entry on the Tivoli® Enterprise Monitoring Server. The data for the calendar entries is given in CRON format. The format of the data must be given as a quintuple (5 places) value separated by a space within double quotation marks if specified by using the -c|--cron option. The format of the data must also follow the sequential order as [minute hour day_of_month month day_of_week]. The order must not be changed and you must specify an asterisk (*) in place of the values that you do not want to provide. Do not skip any values.
30 4 1,15 * 5
If the -c|--cron option is not used, the cron data can also be given by using one or more of the (-i|--min;-h|--hour;a|--daym|--dayofmonth;-m|--month;-w|--dayw|--dayofweek) options. The values that are not specified are considered asterisks (*), meaning every minute, hour, and so on.
You must log in by using the login command before running the tacmd addCalendarEntry command.
tacmd addCalendarEntry
{-n|--name} CALENDAR_ENTRY_NAME
{-c|--cron} CRON_SPEC
[{-d|--description} DESCRIPTION ]
tacmd addCalendarEntry
{-n|--name} CALENDAR_ENTRY_NAME
[{-i|--min} MIN ]
[{-h|--hour} HOUR ]
[{a|--daym|--dayOfMonth} DAY_OF_MONTH ]
[{-m|--month} MONTH ]
[{-w|--dayw|--dayOfWeek} DAY_OF_WEEK ]
[{-d|--description} DESCRIPTION ]
tacmd addCalendarEntry -n Clean_Temp -d "Clean Temporary directory on weekend"
-c "30 21 * * SUN"
See Table 1.
Return to Table 1.