0xironclad / 0xironclad/Task-Scheduler-API
Execute due tasks
未关闭
logic
scheduler
- 主要语言
- TypeScript
- 星标
- 0
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
描述
Query `pending` tasks with `run_at <= now()`. Mark as `running`, simulate execution, then `done`. Handle failures → `failed`.
贡献指南
这个仓库没有索引到贡献指南
调研方向
Look for the periodic job that queries the database, likely using node-cron. Find the model or service for tasks and the SQL query for 'pending' tasks with 'run_at <= now()'. Implement the state transitions: pending → running → done/failed, including simulating execution and error handling. Check existing tests for task execution.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- node.js, postgresql, typescript
- 领域
- backend, databases
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100