Extending Tasks
还没有人认领这个 Issue。
评估
调研方向
首先查看当前如何通过 Config 文件的 init() 方法定义任务,以及调度如何使用这一单一入口点。定义库和模块的扩展机制需要支持哪些内容,包括由 Auth 库注册定期清理任务。完成标准是任务注册不再局限于一个中央配置入口点。
由索引模型根据 Issue 内容生成。
描述
Defining tasks solely in the Config file's init() method requires a single entry point for all scheduling. It might be good to offer a way to extend this to libraries and modules, so (for example) an Auth library could "register" its own tasks for periodic cleanup of spam accounts.
- 主要语言
- PHP
- 星标
- 126
- 派生
- 25
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
codeigniter4/tasks 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
codeigniter4/tasks#38 · 10 条评论 ·
-
enhancement help wanted
难度 5/5 一周以上 新手友好度 20/100
codeigniter4/tasks#6 ·
-
enhancement help wanted
难度 5/5 一周以上 新手友好度 15/100
codeigniter4/tasks#4 ·
查看 codeigniter4/tasks 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 2 天内回复
-
backend bug
难度 2/5 1-3 小时 新手友好度 76/100
-
bug
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 63/100
smarty-php/smarty#1215 ·
-
sync-en
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复