torqit/pimcore-command-locker-bundle
最新稳定版本:V2.0.0
Composer 安装命令:
composer require torqit/pimcore-command-locker-bundle
包简介
README 文档
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 torqit/pimcore-command-locker-bundle
Steps to setting up the object deleter:
- Make sure you register the
CommandLockerBundlein yourAppKernel.phplocated 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 \TorqIT\CommandLockerBundle\CommandLockerBundle); - You will also be required to enable the bundle. Either navigate to
var/config/extensions.phpand add it, or runbin/console pimcore:bundle:enable CommandLockerBundle. - Run the bundle, with the command:
./bin/console torq:command-locker 'YOUR_COMMAND_TO_BE_RUN'.
统计信息
- 总下载量: 21.32k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2022-02-11