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