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