Usage

maintenance(commandName, parameters)

Description
Allows an admin user to execute a maintenance command from within a scripting context.

Example

${maintenance('rebuildIndex')}

JavaScript Example

{
    Structr.maintenance('rebuildIndex', { type: 'Article' });
}

Graph-Browser

About this article
Last change 2018-05-17
Topics