Add missing cron scripts.
This commit is contained in:
@@ -2,4 +2,8 @@
|
||||
# Run every hour at minute 0
|
||||
0 * * * * cd /app && /usr/local/bin/python /app/cleanup_unverified_accounts.py --quiet >> /var/log/cron.log 2>&1
|
||||
|
||||
# Cron job for cleaning up inactive verified accounts (no logins, no time entries)
|
||||
# Run monthly on the 1st at 2:00 AM, cleaning accounts older than 90 days
|
||||
0 2 1 * * cd /app && /usr/local/bin/python /app/cleanup_inactive_accounts.py --min-age 90 --quiet >> /var/log/cron.log 2>&1
|
||||
|
||||
# Empty line required at the end
|
||||
Reference in New Issue
Block a user