Backend jobs #8

Open
opened 2026-09-19 02:18:49 +00:00 by annadavi · 0 comments
Member

Create a standard method for writing and running scheduled jobs. This includes regular group deletion (deleting past groups from the database at least once a week), course schedule resets between semesters (clear each users course list during winter and summer breaks), and user deletion after graduation (use their grad year to determine users to delete at the beginning of a new year).

Testing criteria:

  • All testing MUST be done in a local postgres database to ensure production data is not mistakenly deleted
  • After local testing passes, dev postgres should be tested thoroughly before pushing to production
  • Data deletion should be deleted from everywhere - i.e. if a group is deleted, it should be deleted from the group table and any user's group lists
  • No data that is still necessary should be deleted
  • Jobs should be scheduled to run at specific times and should not need to be triggered
Create a standard method for writing and running scheduled jobs. This includes regular group deletion (deleting past groups from the database at least once a week), course schedule resets between semesters (clear each users course list during winter and summer breaks), and user deletion after graduation (use their grad year to determine users to delete at the beginning of a new year). Testing criteria: - All testing MUST be done in a local postgres database to ensure production data is not mistakenly deleted - After local testing passes, dev postgres should be tested thoroughly before pushing to production - Data deletion should be deleted from everywhere - i.e. if a group is deleted, it should be deleted from the group table and any user's group lists - No data that is still necessary should be deleted - Jobs should be scheduled to run at specific times and should not need to be triggered
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ScottyLabs/study#8
No description provided.