mirror of
https://github.com/hansjone/dsh-ops-cron.git
synced 2026-10-11 00:50:45 +08:00
Add cron_reschedule so pending one-shots can be moved without delete/recreate.
Keeps retrigger for consumed jobs only; agents can advance or delay nextRunAt safely. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
b22048d377
commit
89ab5f59af
6 changed files with 382 additions and 10 deletions
|
|
@ -530,6 +530,7 @@ test('registerCronTools registers each definition and disposer unregisters', ()
|
|||
'cron_pause',
|
||||
'cron_resume',
|
||||
'cron_retrigger',
|
||||
'cron_reschedule',
|
||||
'cron_delete',
|
||||
])
|
||||
off()
|
||||
|
|
@ -546,6 +547,7 @@ test('cron tool output schemas never use type arrays (Host rejects them)', () =>
|
|||
async pauseJob() { return {} },
|
||||
async resumeJob() { return {} },
|
||||
async retriggerJob() { return {} },
|
||||
async rescheduleJob() { return {} },
|
||||
async deleteJob() { return {} },
|
||||
})
|
||||
const bad = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue