Use the tacmd editCalendarEntry command to edit an existing calendar entry on the Tivoli® Enterprise Monitoring Server. The data for the calendar entries are to be given in CRON format. This has to be given as a quintuple value separated by space within double quotation marks if specified by using the -c|--cron option. The rules for –c|--cron are the same as those for the tacmd addCalendarEntry command. The previous value of cron is replaced by the new value. There is no merging operation. The rule for the second syntax is that at least one of the -i, -h, -a, -m, or -w options is required, and must be provided. The value of the CRON specification is taken from the server and is replaced by the new value provided for these options, -i, -h, -a, -m, and -w. The values that are not specified are considered as asterisk (*), meaning every min, hour, and so on.
You must log in by using the login command before running the tacmd editCalendarEntry command.
tacmd editCalendarEntry
{-n|--name} CALENDAR_ENTRY_NAME
{-c|--cron} CRON_SPEC
[{-d|--description} DESCRIPTION ]
[{-f|--force}]
tacmd editCalendarEntry
{-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 ]
[{-f|--force}]
tacmd editCalendarEntry -n "Run_Bat" -c "30 17 * * 1-5" -d "Changed the time" -f
See Table 1.
Return to Table 1.