feat: Add automatic post in the evening

This commit is contained in:
2025-07-20 13:49:24 +02:00
parent 36c90531a8
commit c0f920544b
2 changed files with 14 additions and 1 deletions

View File

@@ -24,6 +24,11 @@ app.conf.beat_schedule = {
'task': 'admin.deactivate_404_adoption_notices',
'schedule': crontab(hour=3),
},
'daily-fedi-post': {
'task': 'social_media.post_fedi',
'schedule': crontab(hour=19),
},
}
if settings.HEALTHCHECKS_URL is not None and settings.HEALTHCHECKS_URL != "":