fix 调试大华设备对接
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Dlhis.ScheduledTask.SyncSapInfo.Job;
|
||||
using Dlhis.ScheduledTask.TaskAssignment.Job;
|
||||
using Hangfire;
|
||||
using Kurisu.AspNetCore.Startup;
|
||||
|
||||
@@ -16,5 +17,16 @@ public class JobPack : BaseAppPack
|
||||
{
|
||||
TimeZone = TimeZoneInfo.Local
|
||||
});
|
||||
|
||||
RecurringJob.AddOrUpdate<CreateSyncServerDateTimeJob>("SyncServerDateTime", s => s.RunAsync(), "0 0 0/1 * * ?", new RecurringJobOptions
|
||||
{
|
||||
TimeZone = TimeZoneInfo.Local
|
||||
});
|
||||
|
||||
|
||||
RecurringJob.AddOrUpdate<CreateGetAttendanceJob>("CreateGetAttendance", s => s.RunAsync(), "0 0/5 * * * ?", new RecurringJobOptions
|
||||
{
|
||||
TimeZone = TimeZoneInfo.Local
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user