flask-website/flask/scripts/keeponly-todays-formsending-ips.sh
2025-05-15 21:16:00 +02:00

2 lines
123 B
Bash

echo "delete from timestamps where timestamp < datetime('now', '-1 DAY');" | sqlite3 /var/tmp/www/forms-sent-timestamps.db