# This file is part of the Savane project
# <http://gna.org/projects/savane/>
#
# $Id: crontab,v 1.9 2004/02/09 18:06:44 yeupou Exp $ 
#
#  No copyright on this file: no code.

# Normally, every bin for savannah should be in the following paths
# FIXME: it should depends on configure options.
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:

################################################ MAIL RELATED
#
# List of mail-/etc/aliases must be rebuild regularly 
*/10 * * * *     root    sv_aliases --cron

# New list creation
*/30 * * * *     root    sv_mailman >> /var/log/sv_database2system.log

################################################ DATABASE RELATED
#
# Daily backups of the Savannah database
7 5 * * *      root    mysqldump savannah > /dumps/savannah.sql 2>&1

# Database cleaning
*/25 * * * *   root    sv_cleaner --cron


################################################ ACCOUNTS RELATED
#
# Sync groups/project in the database and on the system.
# Sync usere in the database and on the system.
# These script must run in a correct order, groups before users
30 */2 * * *    root    sv_groups  --cron && sv_users --cron 



# END
