Jun 29 - Update: Fail2ban, welcome email, dunning sequence, escalation
This commit is contained in:
+5
-1
@@ -243,10 +243,14 @@ Add all six jobs (replace `YOUR_SECRET` and `yourdomain.jqc.app`):
|
||||
0 3 * * * curl -s -X POST https://yourdomain.jqc.app/notifications/cleanup-tokens \
|
||||
-d "token=YOUR_DIGEST_SECRET" >> /var/www/jqc/logs/cron.log 2>&1
|
||||
|
||||
# Trial-ending reminder emails — 9 AM daily ← NEW
|
||||
# Trial-ending reminder emails — 9 AM daily
|
||||
0 9 * * * curl -s -X POST https://yourdomain.jqc.app/notifications/trial-reminders \
|
||||
-d "token=YOUR_DIGEST_SECRET" >> /var/www/jqc/logs/cron.log 2>&1
|
||||
|
||||
# Payment dunning reminders (day 3 / 7 / 14 escalation) — 10 AM daily ← NEW
|
||||
0 10 * * * curl -s -X POST https://yourdomain.jqc.app/notifications/dunning-reminders \
|
||||
-d "token=YOUR_DIGEST_SECRET" >> /var/www/jqc/logs/cron.log 2>&1
|
||||
|
||||
# Per-tenant DB backup — 2 AM daily
|
||||
0 2 * * * set -a; . /etc/jqc/control.env; set +a; \
|
||||
python -m control.backup --tenant all \
|
||||
|
||||
Reference in New Issue
Block a user