$EVERY_MIN
$EVERY_MIN :
Manager of regular tasks for module.
getInstance() : \pm_Scheduler
Get instance of pm_Scheduler
listTasks() : array<mixed,\pm_Scheduler_Task>
List all tasks of current module
getTaskById(string $taskId) : \pm_Scheduler_Task
Return task by its id
string | $taskId |
putTask(\pm_Scheduler_Task $task)
Update or add new task to scheduler
\pm_Scheduler_Task | $task |
removeTask(\pm_Scheduler_Task $task)
Remove task from scheduler
\pm_Scheduler_Task | $task |
enableTask(\pm_Scheduler_Task $task)
Enable task
\pm_Scheduler_Task | $task |
disableTask(\pm_Scheduler_Task $task)
Disable task
\pm_Scheduler_Task | $task |