deprecated

Horaire-course Pdf (course horaire)

reccurent* = beginning of each academic session

Goal: Get courses prerequisites

This job will automate the process of updating the unstructuredPrerequisites Course column at the beginning of each reccurent* time, ensuring that the database reflects the most current prerequisite information accurately and efficiently.

Additionally, this column captures prerequisite details from the PDF that are not provided by the website, such as minimum number of credits and program-specific prerequisites.

Each job will represent a program & session.

Reccurent Cron Job : updateCoursePrerequisitesByProgramAndSession

  1. Setup a recurring Job:
  2. Retrieve Program List:
  3. Initialize Session-Specific Job Queue:
  4. Process Each Program for prerequisites:
  5. Error Handling for Prerequisites Update:
  6. Logging and Monitoring for Prerequisites Jobs:

Note: There’s no need for hashing the horaire-pdf since it’s going to change each session. Simply compar the horairePdfJSON each time we run the job