Skip to content

Commit c0c9c01

Browse files
committed
fix cron schedule syntax
1 parent 5022be7 commit c0c9c01

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

nitro.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig({
66
tasks: true,
77
},
88
scheduledTasks: {
9-
'30 0/2 * * *': ['attendance'],
9+
'30 */2 * * *': ['attendance'],
1010
},
1111
runtimeConfig: {
1212
tokens: '',

wrangler.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
}
1313
],
1414
"triggers": {
15-
"crons": ["30 0/2 * * *"]
15+
"crons": ["30 */2 * * *"]
1616
}
1717
}

0 commit comments

Comments
 (0)