Skip to main content

Update scheduled task

Changes the schedule of the selected scheduled task

Function UpdateScheduledTask(Val Project, Val TaskID, Val Schedule = "", Val HandlersKey = "") Export

ParameterCLI optionTypeRequiredDescription
Project--projStringProject filepath
TaskID--taskStringTask ID
Schedule--cronStringSchedule in extended cron format

Returns: Structure Of KeyAndValue - Task update result


melezh UpdateScheduledTask \
--proj "/proj.melezh" \
--task 1 \
--cron "0 8 8 * * * *"
Result
{
"result": true
}