devel:event:indexer_tasks_run
Table of Contents
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
- Code related to this event used in any DokuWiki's files, plugins and templates
devel/event/indexer_tasks_run.txt · Last modified: 2022-10-20 18:21 by Klap-in