Skip to content

Commit 2ca8f58

Browse files
authored
Update cronjob.md
1 parent e71d4a0 commit 2ca8f58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/api/cronjob.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { CronJob } from "quirrel/next";
99

1010
export default CronJob(
1111
"api/someCronJob", // the route that it's reachable on
12-
["0 2 * * *", "Europe/Berlin"], // every day at 2AM, in Berlin time
12+
["0 2 * * *", "Europe/Berlin"], // every day at 2AM, in Berlin time. you can also write @weekly or @daily!
1313
async (job) => {
1414
// do something
1515
}

0 commit comments

Comments
 (0)