# do not edit, this file is stored in git MAILTO=cb@df7cb.de # collect statistics about the repository 0 0 * * * /srv/apt/repo/apt-stats # update apt-archive.postgresql.org 1 0 * * * cd /srv/apt/repo && bin/import-dists && bin/upload-poolfiles && bin/generate-archive-lists # clean up 5 0 * * * find /srv/apt/repo/incoming-log -maxdepth 1 -mtime +90 | xargs -r rm -rf 6 0 * * * find /srv/apt/repo/morgue -maxdepth 1 -type f -name '*.*' -ctime +90 | xargs -r rm -f # clean up snapshot builds 7 0 * * * find /srv/apt/repo/snapshot-log -maxdepth 1 -mtime +2 | xargs -r rm -rf 8 0 * * * find /srv/apt/repo/morgue -maxdepth 1 -type f -name '*+~*.g*' -ctime +2 | xargs -r rm -f