diff --git a/k8s/main.ts b/k8s/main.ts index fc7198317..8276c0b29 100644 --- a/k8s/main.ts +++ b/k8s/main.ts @@ -75,6 +75,13 @@ export class MyChart extends PennLabsChart { cmd: ['python', 'manage.py', 'rank'], }); + new CronJob(this, 'update-club-counts', { + schedule: cronTime.everyDayAt(0, 12), + image: backendImage, + secret: clubsSecret, + cmd: ['python', 'manage.py', 'update_club_counts'], + }) + new CronJob(this, 'osa-perms-updates', { schedule: cronTime.every(5).minutes(), image: backendImage,