torqnorth/pimcore-command-locker-bundle

There is no license information available for the latest version (V2.0.0) of this package.

Maintainers

Package info

github.com/Torq-North/pimcore-command-locker-bundle

Type:pimcore-bundle

pkg:composer/torqnorth/pimcore-command-locker-bundle

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

V2.0.0 2023-10-04 12:44 UTC

This package is not auto-updated.

Last update: 2026-03-09 21:09:09 UTC


README

This command will create a lock prior to running a command, so that the command cannot be started again by another container / process.

Installing the package via composer

This bundle is easily installed via composer: composer require torqnorth/pimcore-command-locker-bundle

Steps to setting up the object deleter:

  1. Make sure you register the CommandLockerBundle in your AppKernel.php located at \src\pimcore-root\app\AppKernel.php. Registering the bundle is as easy as adding a line in the registerBundlesToCollection function, like so: $collection->addBundle(new \TorqNorth\CommandLockerBundle\CommandLockerBundle);
  2. You will also be required to enable the bundle. Either navigate to var/config/extensions.php and add it, or run bin/console pimcore:bundle:enable CommandLockerBundle.
  3. Run the bundle, with the command: ./bin/console torqnorth:command-locker 'YOUR_COMMAND_TO_BE_RUN'.