Skip to content

Commit

Permalink
Fix interval issue in example for interval job
Browse files Browse the repository at this point in the history
  • Loading branch information
nwehrhan committed Dec 2, 2024
1 parent 67dcd5d commit 087be3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/job-scheduler/0.installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
},
Expand Down

0 comments on commit 087be3c

Please sign in to comment.