Fix the time when the campaign status dated -- 12:01 am -- maybe it should be 12:00
parent
5b733d214c
commit
cf2847544b
|
@ -242,7 +242,7 @@ SEND_TEST_EMAIL_JOB = {
|
|||
|
||||
UPDATE_ACTIVE_CAMPAIGN_STATUSES = {
|
||||
"task": "regluit.core.tasks.update_active_campaign_status",
|
||||
"schedule": crontab(hour=18, minute=5),
|
||||
"schedule": crontab(hour=0, minute=1),
|
||||
"args": ()
|
||||
}
|
||||
|
||||
|
|
|
@ -135,6 +135,8 @@ STATIC_ROOT = '/var/www/static'
|
|||
# decide which of the period tasks to add to the schedule
|
||||
#CELERYBEAT_SCHEDULE['send_test_email'] = SEND_TEST_EMAIL_JOB
|
||||
#CELERYBEAT_SCHEDULE['emit_notifications'] = EMIT_NOTIFICATIONS_JOB
|
||||
# update the statuses of campaigns
|
||||
CELERYBEAT_SCHEDULE['update_active_campaign_statuses'] = UPDATE_ACTIVE_CAMPAIGN_STATUSES
|
||||
CELERYBEAT_SCHEDULE['report_new_ebooks'] = EBOOK_NOTIFICATIONS_JOB
|
||||
|
||||
# set -- sandbox or production Amazon FPS?
|
||||
|
|
Loading…
Reference in New Issue