jmose/command-scheduler-bundle
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.
jmose/command-scheduler-bundle 适用场景与选型建议
jmose/command-scheduler-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.42M 次下载、GitHub Stars 达 330, 最近一次更新时间为 2014 年 08 月 26 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「symfony」 「cron」 「command」 「task」 「scheduler」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 jmose/command-scheduler-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jmose/command-scheduler-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 jmose/command-scheduler-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Wrapper for exec and it's results
Symfony bundle to monitor and execute commands
Shell command module for PHP.
The bundle for easy using json-rpc api on your project
Scheduling extension for Yii2 framework
Library with classes to help you do batch.
统计信息
- 总下载量: 1.42M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 336
- 点击次数: 45
- 依赖项目数: 1
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-26


