Skip to content

Commit

Permalink
fix: always start jobs on fresh start
Browse files Browse the repository at this point in the history
  • Loading branch information
Thundernerd committed Jan 1, 2024
1 parent 7894419 commit 9f3b324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mangarr.Backend/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
configure
.WithIdentity("IndexMangaSchedulerJob")
.ForJob(IndexMangaSchedulerJob.JobKey)
// .StartNow();
.StartNow()
.WithCronSchedule("0 0 * ? * * *");
});

Expand All @@ -74,7 +74,7 @@
configure
.WithIdentity("DownloadChapterSchedulerJob")
.ForJob(DownloadChapterSchedulerJob.JobKey)
// .StartNow();
.StartNow()
.WithCronSchedule("0 0/20 * ? * * *");
});
});
Expand Down

0 comments on commit 9f3b324

Please sign in to comment.