TinyTick logoTinyTick

TaskRun methods

getRunningTaskRunIds

The getRunningTaskRunIds method returns an array containing all running task run Ids. Read more.

getScheduledTaskRunIds

The getScheduledTaskRunIds method returns an array containing all scheduled task run Ids. Read more.

getTaskRunConfig

The getTaskRunConfig method returns the configuration of a task run. Read more.

getTaskRunInfo

The getTaskRunInfo method returns information about a scheduled or running task run. Read more.

getTaskRunRunning

The getTaskRunRunning method returns whether a task run is running yet or not. Read more.

scheduleTaskRun

The scheduleTaskRun method schedules a specific task to run in the future. Read more.

When called with an object as the first argument, the scheduleTaskRun method destructures it to make it easier to skip optional parameters. Read more.

untilTaskRunDone

The untilTaskRunDone method returns a Promise that resolves when a task run has finished running, regardless of whether it was successful or not. Read more.

delTaskRun

The delTaskRun method deletes a scheduled task run or aborts a running one. Read more.