mirror of
https://github.com/hansjone/dsh-ops-cron.git
synced 2026-10-10 11:03:19 +08:00
Recover from corrupt ops-cron store and tighten cron tool schemas.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
b1bb0067a0
commit
25454a5c8c
4 changed files with 58 additions and 6 deletions
|
|
@ -41,9 +41,9 @@ const JOB_SCHEMA = {
|
|||
schedule: { type: 'object', additionalProperties: true },
|
||||
createdAt: { type: 'number' },
|
||||
updatedAt: { type: 'number' },
|
||||
lastRunAt: {},
|
||||
lastStatus: {},
|
||||
nextRunAt: {},
|
||||
lastRunAt: { type: ['number', 'null'] },
|
||||
lastStatus: { type: ['string', 'null'] },
|
||||
nextRunAt: { type: ['number', 'null'] },
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue