DokuWiki

It's better when it's simple

User Tools

Site Tools


taskrunner

The TaskRunner Process

DokuWiki uses a background process triggered by a webbug to execute administrative tasks like building the search index, creating a sitemap or updating metadata.

The task runner is located in lib/exe/taskrunner.php and is included as hidden image by the tpl_indexerWebBug() function.

For more info about the technique used see Web bugs for job scheduling

Note: this mechanism used to be called “indexer” because it was implemented for the search index first. Over time it took care of more tasks and thus was renamed.

Debugging

If you have problems with the indexer or the services it should provide, you can get some debugging output, by enabling the allowdebug option, calling it directly and appending the parameter debug=1.

Example: http://example.com/dokuwiki/lib/exe/taskrunner.php?id=start&debug=1

taskrunner.txt · Last modified: 2024-02-07 23:21 by Aleksandr

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