Task management for ProcessWire
Branch: master
Clone or download
Latest commit 426f620 Feb 3, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Oct 21, 2017
README.md Update README.md Feb 3, 2019
Tasker.info.php code cleanup Dec 31, 2018
Tasker.module.php handle missing progress value Jan 31, 2019
TaskerAdmin.css add display transitions to tasker menu itms Dec 31, 2018
TaskerAdmin.info.php remove non-functional permission Jan 31, 2019
TaskerAdmin.js
TaskerAdmin.module.php sort by created only Jan 31, 2019
TaskerAdminConfig.php fixed enableWebRun setting Dec 31, 2018
TaskerConfig.php User configurable debugging Jul 6, 2018
runByCron.php cron fixes Dec 4, 2018

README.md

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.