DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:indexer_tasks_run

INDEXER_TASKS_RUN

Description:
run custom "Cron jobs"
DefaultAction:
run one of the background tasks such as indexer
Preventable:
yes
Added:
2008-02-26

This event is called in lib/exe/taskrunner.php. It is called on every pageview through a web bug.

Plugins should only hook BEFORE the event if it is important for the task to be run as often as possible. Otherwise, hook AFTER the event to be run only when other tasks have completed.

Plugin authors must call stopPropagation() and preventDefault() if any work is done. If your plugin does nothing, then you must allow the event to continue. Not following these rules may cause DokuWiki to exceed the PHP execution time limit.

These are the default jobs which are executed in the given order. Only one job is executed per page request.

Passed Data

No data is passed

See also

devel/event/indexer_tasks_run.txt · Last modified: 2022-10-20 18:21 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki