Browse Source

Fixed cron expression

SG-660
gbubemismith 3 years ago
parent
commit
0c213af965
No known key found for this signature in database
  1. 2
      src/Admin/Jobs/JobsHostedService.cs

2
src/Admin/Jobs/JobsHostedService.cs

@ -67,7 +67,7 @@ public class JobsHostedService : BaseJobsHostedService @@ -67,7 +67,7 @@ public class JobsHostedService : BaseJobsHostedService
var everyDayAtTwoAmUtcTrigger = TriggerBuilder.Create()
.WithIdentity("EveryDayAtTwoAmUtcTrigger")
.StartNow()
.WithCronSchedule("0 2 * * *")
.WithCronSchedule("0 0 2 ? * * *")
.Build();
var jobs = new List<Tuple<Type, ITrigger>>

Loading…
Cancel
Save