summaryrefslogtreecommitdiffstats
path: root/roles/postgresql_server_bdr/files/koji-cleanup-sessions.cron
blob: 562a7825aa8255cd6d2a97500b58c78553d29a76 (plain)
1
2
3
4
5
6
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root@fedoraproject.org
HOME=/

0 0 * * * postgres /usr/bin/psql -q -c "DELETE FROM sessions WHERE update_time < now() - '1 day'::interval" koji