jmose/command-scheduler-bundle
最新稳定版本:v3.0.1
Composer 安装命令:
composer require jmose/command-scheduler-bundle
包简介
This Symfony bundle will allow you to schedule all your commands just like UNIX crontab
README 文档
README
This bundle will allow you to easily manage scheduling for Symfony's console commands (native or not) with cron expression.
Versions & Dependencies
The following table shows the compatibilities of different versions of the bundle :
| Version | Symfony | PHP |
|---|---|---|
| 3.0 (master) | ^3.4|^4.3|^5.0 | >=7.2 |
| 2.2.x | ^3.4|^4.3 | >=7.1 |
| 2.0.2 (unmaintained) | ^3.4|^4.1 | >=5.6 |
| 1.2.x (unmaintained) | ^2.8|^3.0 | >=5.5 |
| 1.1.x (unmaintained) | ^2.3 | >=5.3 |
When using Symfony Flex there is an installation recipe.
To use it, you have to enable contrib recipes on your project : composer config extra.symfony.allow-contrib true
Features
- An admin interface to add, edit, enable/disable or delete scheduled commands.
- For each command, you define :
- name
- symfony console command (choice based on native
listcommand) - cron expression (see Cron format for informations)
- output file (for
$output->write) - priority
- A new console command
scheduler:execute [--dump] [--no-output]which will be the single entry point to all commands - Management of queuing and prioritization between tasks
- Locking system, to stop scheduling a command that has returned an error
- Monitoring with timeout or failed commands (Json URL and command with mailing)
- Translated in french, english, german and spanish
- An EasyAdmin configuration template available here
- Beta - Handle commands with a deamon (unix only) if you don't want to use a cronjob
Screenshots
Documentation
See the documentation here.
License
This bundle is under the MIT license. See the complete license for info.
统计信息
- 总下载量: 1.4M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 336
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-26


