Get scheduled task
Gets task information by ID
Function GetScheduledTask(Val Project, Val TaskID) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Project | --proj | String | ✔ | Project filepath |
| TaskID | --task | String | ✔ | Task ID |
Returns: Structure Of KeyAndValue - Handlers information
- Bash
- CMD/Bat
melezh GetScheduledTask \
--proj "/proj.melezh" \
--task 1
melezh GetScheduledTask ^
--proj "/proj.melezh" ^
--task 1
Result
{
"data": {
"active": 1,
"cron": "0 7 10 * * * *",
"handler": "my-key",
"id": 1
},
"result": true
}