-
Notifications
You must be signed in to change notification settings - Fork 2
Home
mtwebit edited this page Feb 3, 2019
·
4 revisions
Tasker is a ProcessWire module to support executing long-running jobs (e.g. performing operations on thousands of pages).
- to run jobs in the background using cron or LazyCron
- to gracefully handle memory and execution time limits
- by providing a state-saving mechanism to store the task's progress
- provides a step-by-step execution method via async HTTP calls
- allows to monitor the task's progress, helps to check log messages and task data
- allows manual state transitions (starting, killing, stopping, resuming etc. tasks)
- implement a function that performs the long-running job
- create a task to call the function
- choose an execution method (scheduler): cron (preferred, tested), LazyCron (not really tested) or TaskerAdmin (tested)