# this cron should be run daily by user postgres for fossology database
# 
# Copyright (C) 2007 Hewlett-Packard Development Company, L.P.

#
# cluster
0 0 * * * if [ -x /usr/bin/clusterdb ]; then /usr/bin/clusterdb --username postgres fossology >/dev/null; fi
#
# Run VACUUM ANALYSE on all databases every 5 hours if pg_autovacuum is not
# running
0 3 * * * if [ -x /usr/sbin/pg_maintenance ]; then /usr/sbin/pg_maintenance --full --analyze >/dev/null; fi
