Skip to content

[ENG-10076] Add Celery task to delete removed beat tasks from PeriodicTask entries#11606

Open
Ostap-Zherebetskyi wants to merge 1 commit intoCenterForOpenScience:feature/notifications-refactor-post-releasefrom
Ostap-Zherebetskyi:feature/celery_beat_sync_task
Open

[ENG-10076] Add Celery task to delete removed beat tasks from PeriodicTask entries#11606
Ostap-Zherebetskyi wants to merge 1 commit intoCenterForOpenScience:feature/notifications-refactor-post-releasefrom
Ostap-Zherebetskyi:feature/celery_beat_sync_task

Conversation

@Ostap-Zherebetskyi
Copy link
Collaborator

Ticket

https://openscience.atlassian.net/browse/ENG-10076

Purpose

Add Celery task to delete removed beat tasks from PeriodicTask entries

Changes

Side Effects

QE Notes

CE Notes

Documentation

@Ostap-Zherebetskyi Ostap-Zherebetskyi marked this pull request as ready for review February 25, 2026 15:35
beat_schedule = {
'delete_removed_beat_tasks': {
'task': 'scripts.delete_removed_beat_tasks',
'schedule': crontab(minute=0, hour=22), # Daily midnight
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's follow up with CE on what's the best time to run this script. In addition, the timing seems to be off.

@Ostap-Zherebetskyi Ostap-Zherebetskyi force-pushed the feature/celery_beat_sync_task branch from 595ca9a to 6a51c04 Compare February 26, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants