mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
@@ -24,6 +24,10 @@ const expireUserTiers = require('./jobs/expire_user_tiers.cron');
|
||||
const taskDueSoon = require('./jobs/task_due_soon.cron');
|
||||
const { startSettingsBackedJobs } = require('./cronRegistry.util');
|
||||
|
||||
// TODO(ads-7): Add an `expire_advertisements.cron.js` job (same shape as
|
||||
// expire_user_tiers.cron.js) that auto-archives (soft-deletes) advertisements
|
||||
// once their end_date has passed, instead of just leaving them at derived
|
||||
// status "expired" forever. Register it in the `jobs` array below.
|
||||
// ─── Registry — add future client-side cron jobs here ────────────────────────
|
||||
const jobs = [
|
||||
userNotifications,
|
||||
|
||||
Reference in New Issue
Block a user