Skip to content

mtwebit/Tasker

Repository files navigation

Tasker

Task management for ProcessWire

Purpose

This ProcessWire module allows the execution of long-running (>> max_execution_time) jobs in ProcessWire.
It provides a simple interface to create tasks (stored as PW pages), to set and query their state (Active, Waiting, Suspended etc.), and to execute them via Cron, LazyCron or HTTP calls.
The TaskerAdmin module provides a Javascript-based frontend to list tasks, to change their state and to monitor task progress (using a JQuery progressbar and a debug log area). It also allows the on-line execution of tasks using periodic HTTP calls performed by frontend Javascript code.

How does it work

See the Wiki

Examples for module developers

The DataSet module performs long-running page imports and deletions using Tasker.
Check createTasksOnPageSave(), import() and purge() for more details.

The MarkupPdfPager module performs pdf transformations and indexing using Tasker.