feat: schedule cron script to delete notifications older than 15 days

This commit is contained in:
2025-09-10 13:35:21 +05:30
parent b0863d1586
commit fc7e230fbb
2 changed files with 3 additions and 2 deletions

View File

@@ -15,4 +15,5 @@ CRON_DIR="$WORKDIR/cron"
cd "$WORKDIR" || { echo "Failed to change directory to $WORKDIR"; exit 1; }
node --env-file=.env "$CRON_DIR/configUpdate.js"
node --env-file=.env "$CRON_DIR/analytics.js"
node --env-file=.env "$CRON_DIR/analytics.js"
node --env-file=.env "$CRON_DIR/notificationCleanup.js"