codeigniter4 / codeigniter4/tasks

Extending Tasks

未关闭
#34 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
PHP
星标
126
派生
24
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

调研方向

首先查看当前如何通过 Config 文件的 init() 方法定义任务,以及调度如何使用这一单一入口点。定义库和模块的扩展机制需要支持哪些内容,包括由 Auth 库注册定期清理任务。完成标准是任务注册不再局限于一个中央配置入口点。

由索引模型根据 Issue 内容生成。

评估

技术栈
php
领域
tooling
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。