diff --git a/SimpleServer/src/Services/Crawler/CrawlData/Program.cs b/SimpleServer/src/Services/Crawler/CrawlData/Program.cs index f2d101c..3ebfe40 100644 --- a/SimpleServer/src/Services/Crawler/CrawlData/Program.cs +++ b/SimpleServer/src/Services/Crawler/CrawlData/Program.cs @@ -79,12 +79,12 @@ static async Task ScheduleJob(IServiceProvider serviceProvider) var trigger = TriggerBuilder.Create() .WithIdentity("CrawlTrigger", "CrawlGroup") .StartNow() - .WithDailyTimeIntervalSchedule(x => x - .OnEveryDay() - // set timezone in VietNam - .InTimeZone(TimeZoneInfo.FindSystemTimeZoneById("SE Asia Standard Time")) - .StartingDailyAt(TimeOfDay.HourAndMinuteOfDay(2, 0)) // Set the desired time - ) + // .WithDailyTimeIntervalSchedule(x => x + // .OnEveryDay() + // // set timezone in VietNam + // .InTimeZone(TimeZoneInfo.FindSystemTimeZoneById("SE Asia Standard Time")) + // .StartingDailyAt(TimeOfDay.HourAndMinuteOfDay(2, 0)) // Set the desired time + // ) .Build(); await scheduler.ScheduleJob(job, trigger);