แก้ cronjob เป็นเวลาตีหนึ่ง
This commit is contained in:
parent
2f733cd2a6
commit
01309ceceb
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ var app = builder.Build();
|
|||
var manager = new RecurringJobManager();
|
||||
if (manager != null)
|
||||
{
|
||||
manager.AddOrUpdate("ปรับปรุงรอบการลงเวลาทำงาน", Job.FromExpression<UserDutyTimeRepository>(x => x.UpdateUserDutyTime()), Cron.Daily(6, 0), TimeZoneInfo.Local);
|
||||
manager.AddOrUpdate("ปรับปรุงรอบการลงเวลาทำงาน", Job.FromExpression<UserDutyTimeRepository>(x => x.UpdateUserDutyTime()), Cron.Daily(1, 0), TimeZoneInfo.Local);
|
||||
}
|
||||
|
||||
// apply migrations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue