Skip to main content

Get scheduled task

Gets task information by ID

Function GetScheduledTask(Val Project, Val TaskID) Export

ParameterCLI optionTypeRequiredDescription
Project--projStringProject filepath
TaskID--taskStringTask ID

Returns: Structure Of KeyAndValue - Handlers information


melezh GetScheduledTask \
--proj "/proj.melezh" \
--task 1
Result
{
"data": {
"active": 1,
"cron": "0 7 10 * * * *",
"handler": "my-key",
"id": 1
},
"result": true
}