fix
This commit is contained in:
parent
0cb199d0ee
commit
def3992d44
3 changed files with 5 additions and 6 deletions
|
|
@ -124,6 +124,8 @@ namespace BMA.EHR.Application.Repositories.Leaves.TimeAttendants
|
|||
}
|
||||
return job!;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ดึงข้อมูลงานที่ค้างอยู่ในสถานะ PENDING หรือ PROCESSING เกินเวลาที่กำหนด (นาที)
|
||||
|
|
|
|||
|
|
@ -123,6 +123,8 @@ namespace BMA.EHR.Application.Repositories.Leaves.TimeAttendants
|
|||
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// อัปเดตสถานะเป็น Processing
|
||||
|
|
|
|||
|
|
@ -225,12 +225,7 @@ if (manager != null)
|
|||
// QueueName = "leave"
|
||||
// });
|
||||
//
|
||||
// manager.AddOrUpdate("ประมวลผลงานที่ค้างอยู่ในสถานะ Pending หรือ Processing", Job.FromExpression<LeaveProcessJobStatusRepository>(x => x.ProcessPendingJobsAsync()), "0 3 * * *",
|
||||
// new RecurringJobOptions
|
||||
// {
|
||||
// TimeZone = bangkokTimeZone,
|
||||
// QueueName = "leave" // ← กำหนด queue
|
||||
// });
|
||||
|
||||
}
|
||||
|
||||
// apply migrations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue