* * * * * root PGPASSWORD=dbpasswd psql -h db -U dbuser -d default -c "DELETE FROM pastes WHERE created_at < now() - interval '2 days';" && date >> /var/log/db_clean.log
# Don't remove the empty line at the end of this file. It is required to run the cron job