1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-04 05:43:47 +00:00

Added a daily recurring job to cleanup tournaments .

This commit is contained in:
2025-05-07 13:11:19 -04:00
parent 2856060b11
commit 2575feba80
9 changed files with 166 additions and 17 deletions

View File

@@ -1,10 +1,11 @@
# production:
# periodic_cleanup:
# class: CleanSoftDeletedRecordsJob
# queue: background
# args: [ 1000, { batch_size: 500 } ]
# schedule: every hour
# periodic_command:
# command: "SoftDeletedRecord.due.delete_all"
# priority: 2
# schedule: at 5am every day
production:
tournament_cleanup_job:
class: TournamentCleanupJob
schedule: every day at 3am
queue: default
development:
tournament_cleanup_job:
class: TournamentCleanupJob
schedule: every day at 3am
queue: default