diff --git a/openstax/settings/base.py b/openstax/settings/base.py index 09d03831..6612b893 100644 --- a/openstax/settings/base.py +++ b/openstax/settings/base.py @@ -259,12 +259,12 @@ ('0 2 * * *', 'django.core.management.call_command', ['delete_resource_downloads']), ('0 6 * * *', 'django.core.management.call_command', ['update_resource_downloads']), ('0 0 8 * *', 'django.core.management.call_command', ['update_schools_and_mapbox']), - ('0 0 * * *', 'django.core.management.call_command', ['update_opportunities']), ('0 10 * * *', 'django.core.management.call_command', ['update_partners']), ] if ENVIRONMENT == 'prod': CRONJOBS.append(('0 6 1 * *', 'django.core.management.call_command', ['check_redirects'])) + CRONJOBS.append(('0 0 * * *', 'django.core.management.call_command', ['update_opportunities'])) CRONTAB_COMMAND_PREFIX = os.getenv('CRONTAB_COMMAND_PREFIX', '') CRONTAB_COMMAND_SUFFIX = os.getenv('CRONTAB_COMMAND_SUFFIX', '')