Translations of this page?:

INDEXER_TASKS_RUN

Description:
run custom "Cron jobs"
DefaultAction:
run one of the indexer actions
Preventable:
yes
Added:
2008-02-26

This event is called in lib/exe/indexer.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

Plugins handling this event

The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.

See also

devel/event/indexer_tasks_run.txt · Last modified: 2012/04/11 14:48 by andi
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate