arumoy-shome / UWNerdist

Got free time? Check out what classes are going on at the UW campus that interest you!
MIT License
1 stars 1 forks source link

Write a job to populate current term #60

Open arumoy-shome opened 7 years ago

arumoy-shome commented 7 years ago

Write an ActiveJob to create a new term record at the beginning of each term.

arumoy-shome commented 7 years ago

We want to create a new term record on the first day of the month in which a term begins. For simplicity:

Winter term: Jan 1 Spring term: May 1 Fall term: Sept 1

arumoy-shome commented 7 years ago

Pick a queuing backend. Rails by default keeps the jobs in RAM, if the production machine is down, all the future jobs are lost hence we need to persist the jobs using a 3rd party backend.