Download the PHP package samynw/pimcore-maintenance-toolbox without Composer
On this page you can find all versions of the php package samynw/pimcore-maintenance-toolbox. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download samynw/pimcore-maintenance-toolbox
More information about samynw/pimcore-maintenance-toolbox
Files in samynw/pimcore-maintenance-toolbox
Package pimcore-maintenance-toolbox
Short Description This provides a set of usefull tools for the Pimcore maintenance
License MIT
Informations about the package pimcore-maintenance-toolbox
Pimcore maintenance toolbox
This provides a set of usefull tools for the Pimcore maintenance
Features include following console commands:
- maintenance:list: get a list of maintenance tasks and whether they are locked or not
- maintenance:release-lock: manually unlock a maintenance task (for example after the process got killed)
Installation
Configuration
The bundle can be configured through the extension manager in the Pimcore admin interface.
Features
Task overview
This command will print a table with all registered maintenance tasks and their locked status. If possible also the lock expiration and current duration of the task is shown.
Options:
--locked
: flag to only show the locked tasks (optional)--sort
(-s
): sort the table by either task name or by lock (optional)- supported values:
name
,lock
- default value:
name
- supported values:
Example full list
(note: sample output was shorted for readability)
Example list limited to locked tasks
Example list sorted by duration
(note: sample output was shorted for readability)
Unlock maintenance tasks
The bundle includes a command to release the lock from a maintenance task.
However the locks are set to prevent concurring executions and therefor should not be removed manually. In some cases however this might be usefull, for example if the maintenance process got killed and the lock got stuck untill the expiration key ends.
To prevent reckless unlocking the following are made:
- feature is disabled by default (enable in module cofiguration)
- user first gets a warning and has to confirm the action