0xironclad / 0xironclad/Task-Scheduler-API

Execute due tasks

未关闭
#24 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
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

把新 issue 发到你的邮箱

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