Planification-horaire Pdf (course availability):
reccurent* = monthly
This job will automate the process of updating course availability for each program on a reccurent* basis, ensuring that the database reflects the most current course offerings by comparing and updating data from the Planification PDF. This automation captures any new or modified course details, maintaining data integrity and reducing manual workload.
updateAllCourseAvailabilityByProgram
Retrieve Program List:
Fetch a list of all programs from the database
Process Each Program:
a. Fetch PDF:
Retrieve the Planification PDF using the URL format with the programCode
(e.g., 7084 for génie logiciel). If deuxième cycle, it’s another code.
b. Update Process:
newPlanificationJson
!= oldPlanificationPdfJson
):