From 087be3cbb7241c25b66c2fb862bc0cb36072a653 Mon Sep 17 00:00:00 2001 From: Nicholas Wehrhan Date: Mon, 2 Dec 2024 23:13:43 +0100 Subject: [PATCH] Fix interval issue in example for interval job --- docs/content/job-scheduler/0.installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/job-scheduler/0.installation.md b/docs/content/job-scheduler/0.installation.md index 1dcd2aa..9f62cdf 100644 --- a/docs/content/job-scheduler/0.installation.md +++ b/docs/content/job-scheduler/0.installation.md @@ -68,7 +68,7 @@ jobs.scheduleJob({ jobs.scheduleJob({ id: 'job2', type: 'interval', - interval: DAY, // Runs every 24 hours + duration: 2, // Runs every 2 minutes execute: () => { console.log('Executed job on interval'); },