Skip to content
Snippets Groups Projects
Commit be8d294f authored by Karel van Klink's avatar Karel van Klink :smiley_cat: Committed by Neda Moeini
Browse files

Run cleanup at 1AM, not every minute between 1 and 2 AM

parent 4220d8d4
No related branches found
No related tags found
1 merge request!261Run cleanup at 1AM, not every minute between 1 and 2 AM
Pipeline #88708 passed
......@@ -7,7 +7,7 @@ from gso.worker import celery
@celery.task
@scheduler(CronScheduleConfig(name="Clean up tasks", hour="1"))
@scheduler(CronScheduleConfig(name="Clean up tasks", hour="1", minute="0"))
def vacuum_tasks() -> None:
"""Run all cleanup tasks every 1 AM UTC."""
start_process("task_clean_up_tasks")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment