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`.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
尋找查詢資料庫的週期性作業,很可能使用 node-cron。找到用於任務的模型或服務,以及針對 'run_at <= now()' 的 'pending' 任務的 SQL 查詢。實作狀態轉換:pending → running → done/failed,包括模擬執行和錯誤處理。檢查任務執行的現有測試。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- node.js, postgresql, typescript
- 領域
- backend, databases
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100