mirror of
https://github.com/GSA/notifications-api.git
synced 2026-04-08 19:39:20 -04:00
fix cronitor task name
This commit is contained in:
@@ -30,8 +30,8 @@ from app.models import FactProcessingTime
|
||||
from app.utils import get_midnight_in_utc, utc_now
|
||||
|
||||
|
||||
@notify_celery.task(name="remove_sms_email_jobs")
|
||||
@cronitor("remove_sms_email_jobs")
|
||||
@notify_celery.task(name="remove-sms-email-jobs")
|
||||
@cronitor("remove-sms-email-jobs")
|
||||
def remove_sms_email_csv_files():
|
||||
_remove_csv_files([NotificationType.EMAIL, NotificationType.SMS])
|
||||
|
||||
|
||||
@@ -311,8 +311,8 @@ class Config(object):
|
||||
"schedule": crontab(hour=4, minute=5),
|
||||
"options": {"queue": QueueNames.PERIODIC},
|
||||
},
|
||||
"remove_sms_email_jobs": {
|
||||
"task": "remove_sms_email_jobs",
|
||||
"remove-sms-email-jobs": {
|
||||
"task": "remove-sms-email-jobs",
|
||||
"schedule": crontab(hour=8, minute=0),
|
||||
"options": {"queue": QueueNames.PERIODIC},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user