Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
lampo1024 committed Feb 26, 2023
1 parent f14366f commit 635656d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DncZeus.Api/Extensions/QuartzExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static IServiceCollection AddRestoreScheduler(this IServiceCollection ser
q.AddTrigger(opts => opts
.ForJob(jobKey)
.WithIdentity("ResetDatabase-trigger")
.WithCronSchedule("/10 * * ? * * ") //0 2 0 ? * *,0 2 * * *,0 * * ? * *
.WithCronSchedule("0 2 0 ? * *") //0 2 0 ? * *,0 2 * * *,0 * * ? * *
);
});
services.AddQuartzHostedService(q => q.WaitForJobsToComplete = true);
Expand Down

0 comments on commit 635656d

Please sign in to comment.