Prune unverified accounts
This commit is contained in:
@@ -73,6 +73,16 @@ if [ -f "migrations_old/run_postgres_migrations.py" ]; then
|
||||
echo "Found old migration system. Consider removing after confirming Flask-Migrate is working."
|
||||
fi
|
||||
|
||||
# Start cron service for scheduled tasks
|
||||
echo ""
|
||||
echo "=== Starting Cron Service ==="
|
||||
service cron start
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "✅ Cron service started for scheduled cleanup tasks"
|
||||
else
|
||||
echo "⚠️ Failed to start cron service, cleanup tasks won't run automatically"
|
||||
fi
|
||||
|
||||
# Start the Flask application with gunicorn
|
||||
echo ""
|
||||
echo "=== Starting Application ==="
|
||||
|
||||
Reference in New Issue
Block a user