mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
docs: bring the scheduler docs in line
This commit is contained in:
@@ -354,7 +354,7 @@ Two flavours: a fixed **cron job** declared in the manifest, or a **dynamic time
|
||||
|
||||
```js
|
||||
module.exports = {
|
||||
// fixed cron — runs on node-cron
|
||||
// fixed cron — standard 5-field (or 6-field with seconds) expressions
|
||||
jobs: [
|
||||
{ id: 'nightly', schedule: '0 3 * * *', async handler(ctx) { /* … */ } },
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user