About Tasker

Task management for ProcessWire

Category Development Tools
Modules that have more to do with assisting development of a site rather than managing its content.
Release StateBeta
Close to stable, but users are advised to be cautious and test thoroughly.*
Authormtwebit
Module Version0.9.1
Class NameTasker
Compatibility3.0
Date AddedDecember 31, 2018
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

This module's files should be placed in /site/modules/Tasker/
How to install or uninstall modules

README

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

Installation

Tasker requires a Task template type to store task data.
Atm TODO this should be created manually with the following fields: title(Text), task_data(TextArea), task_state(Integer:0..10), task_running(Integer:0..1), progress(Integer:0..100), log_messages(TextArea) and signature(Text).
These fields will be automagically managed by Tasker.

Examples

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.