Skip to content

Commit ba2e28c

Browse files
author
marekbiczysko
committed
fix aurora schedule task names
1 parent 22c3382 commit ba2e28c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/hope/apps/core/tasks_schedules.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
"task": "hope.apps.grievance.celery_tasks.periodic_grievances_notifications_async_task",
1414
"schedule": crontab(minute="*/20"),
1515
},
16-
"extract_records_async_task": {
17-
"task": "hope.contrib.aurora.celery_tasks.extract_records_async_task",
16+
"extract_records_task": {
17+
"task": "hope.contrib.aurora.celery_tasks.extract_records_task",
1818
"schedule": crontab(minute=0, hour=0),
1919
},
2020
"remove_old_cash_plan_payment_verification_xlsx_async_task": {
2121
"task": "hope.apps.payment.celery_tasks.remove_old_cash_plan_payment_verification_xlsx_async_task",
2222
"schedule": crontab(minute=0, hour=0),
2323
},
24-
"clean_old_record_files_async_task": {
25-
"task": "hope.contrib.aurora.celery_tasks.clean_old_record_files_async_task",
24+
"clean_old_record_files_task": {
25+
"task": "hope.contrib.aurora.celery_tasks.clean_old_record_files_task",
2626
"schedule": crontab(minute=0, hour=0, day_of_month=1, month_of_year="2-12/2"),
2727
},
2828
"periodic_sync_payment_gateway_fsp_async_task": {

src/hope/config/fragments/constance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
"REST_BANNER_MESSAGE": ("", "Banner Message", str),
201201
"CLEARING_RECORD_FILES_TIMEDELTA": (
202202
60,
203-
"The schedule (in days) which is applied to task clean_old_record_files_async_task",
203+
"The schedule (in days) which is applied to task clean_old_record_files_task",
204204
"positive_integers",
205205
),
206206
"SHOW_TOOLBAR": (False, "Show debug toolbar", bool),

0 commit comments

Comments
 (0)