Adds values for cron job hours to run the job every hour. Previously it was using a value of 0 by default right from settings. Now it needs to be overridden in Heroku as *. We need to run the task every hour.
How should this be manually tested?
To test it locally, you can run this task w.r.t minutes and check that the sync task runs every (Mins) that you've set. For this you can set the value for CRON_COURSERUN_SYNC_HOURS to be in decimal.
The sync_courseruns should run every hour moving onward, but that's actually testable in xPRO.
What are the relevant tickets?
https://github.com/mitodl/hq/issues/1211
What's this PR do?
0
by default right from settings. Now it needs to be overridden in Heroku as *. We need to run the task every hour.How should this be manually tested?
CRON_COURSERUN_SYNC_HOURS
to be in decimal.Where should the reviewer start?
(Optional)
Any background context you want to provide?
We made a similar change in https://github.com/mitodl/salt-ops/pull/1560 for xPRO.