boboldehampsink/taskmanager
最新稳定版本:0.4.3
Composer 安装命令:
composer require boboldehampsink/taskmanager
包简介
Task Manager Plugin for Craft CMS
README 文档
README
Adds a "Task Manager" section to your CP to easily cancel or delete Craft Tasks.
Important
- The plugin's folder should be named "taskmanager"
Deprecated
With the release of Craft 3 on 4-4-2018, this plugin has been deprecated. You can still use this with Craft 2 but you are encouraged to use (and develop) a Craft 3 version. At this moment, I have no plans to do so.
Features
- View detail task info
- Cancel running tasks
- Rerun running or failed tasks
- If you set up a cronjob to run /actions/taskManager/rerunAllFailedTasks, you can automatically rerun failed tasks
- Comes with two console commands, one to run pending tasks and one to watch for pending tasks and run them.
- Has an endpoint for Hirefire, see http://support.hirefire.io/help/kb/guides/any-programming-language
To run pending tasks just run
./craft/app/etc/console/yiic taskmanager run
To watch for pending tasks and them run them, run
./craft/app/etc/console/yiic taskmanager watch
Development
Run this from your Craft installation to test your changes to this plugin before submitting a Pull Request
phpunit --bootstrap craft/app/tests/bootstrap.php --configuration craft/plugins/taskmanager/phpunit.xml.dist --coverage-clover coverage.clover craft/plugins/taskmanager/tests
Changelog
0.4.3
- Added the ability to get pending tasks in Hirefire.io format
- Recycle db connection
0.4.2
- Fixed bug with reading default config values
0.4.1
- Added the ability to control the watch interval via the
taskIntervalconfig setting
0.4.0
- Added the ability to run and watch for tasks via the command line.
0.3.1
- Updated the plugin for Craft 2.5
- The hook "modifyTaskManagerAttributes" is now "defineAdditionalTaskManagerTableAttributes"
- Added description and documentation url
0.3.0
- Added sources by type
- Replaced action buttons by element actions
- Added endpoint for rerunning all failed tasks
- Added the ability to restart hanging tasks after a given timeout
- Added "modifyTaskManagerSources" hook
- Added "addTaskManagerActions" hook
- Added "modifyTaskManagerTableAttributes" hook
- Added "getTaskManagerTableAttributeHtml" hook
- Added "modifyTaskManagerSortableAttributes"
0.2.0
- Added the ability to restart a task
- Deleting a task is now more graceful
0.1.0
- Initial release
boboldehampsink/taskmanager 适用场景与选型建议
boboldehampsink/taskmanager 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 19.43k 次下载、GitHub Stars 达 53, 最近一次更新时间为 2015 年 09 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 boboldehampsink/taskmanager 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 boboldehampsink/taskmanager 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 19.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 53
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-21