Update scheduled task
Changes the schedule of the selected scheduled task
Function UpdateScheduledTask(Val Project, Val TaskID, Val Schedule = "", Val HandlersKey = "") Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Project | --proj | String | ✔ | Project filepath |
| TaskID | --task | String | ✔ | Task ID |
| Schedule | --cron | String | ✖ | Schedule in extended cron format |
Returns: Structure Of KeyAndValue - Task update result
- Bash
- CMD/Bat
melezh UpdateScheduledTask \
--proj "/proj.melezh" \
--task 1 \
--cron "0 8 8 * * * *"
melezh UpdateScheduledTask ^
--proj "/proj.melezh" ^
--task 1 ^
--cron "0 8 8 * * * *"
Result
{
"result": true
}