# THIS FILE IS GENERATED, PLEASE DON'T EDIT, RATHER USE Makefile
FFCRON="/usr/share/gforge/cronjobs"
FFUSER=gforge

# Change paths to the GForge directory.
# Don't reference $GFORGE because this won't work!
# You may need to change the pathname to php CLI (command line interface)
#INCLUDE_PATH=/etc/gforge:/usr/share/gforge/:/usr/share/gforge/www:/usr/share/gforge/common
PHP="/usr/bin/php -q -d include_path=.:/etc/gforge:/usr/share/gforge:/usr/share/gforge/www/include"

# Don't mail command output to anyone.
MAILTO=""

#
# Regular cron jobs for the db-postgresql package
#

# Daily reporting process
25 7 * * * $FFUSER $PHP $FFCRON/reporting_cron.php

# Recalculate user popularity metric
25 1 * * * $FFUSER $PHP $FFCRON/calculate_user_metric.php

# Daily recalculate of the sums under the trove map
30 1 * * * $FFUSER $PHP $FFCRON/db_trove_maint.php

# Daily deletion of sessions, closing jobs, etc
35 1 * * * $FFUSER $PHP $FFCRON/project_cleanup.php

# Daily crunching of survey data and other associated ratings
40 1 * * * $FFUSER $PHP $FFCRON/rating_stats.php

# Daily crunching of project summary data (counts)
42 1 * * * $FFUSER $PHP $FFCRON/db_project_sums.php

# Daily close pending artifacts
43 1 * * * $FFUSER $PHP $FFCRON/check_stale_tracker_items.php

# Daily project_weekly_metric recalc
12 1 * * * $FFUSER $PHP $FFCRON/project_weekly_metric.php

# Daily rotation of the activity_log
0 0 * * * $FFUSER $PHP $FFCRON/rotate_activity.php

# Daily aggregating of the numbers
15 0 * * * $FFUSER $PHP $FFCRON/site_stats.php

# Daily sweep of the stats into final tables
45 0 * * * $FFUSER $PHP $FFCRON/db_stats_agg.php

# Hourly send pending massmailings, if any
48 * * * * root $PHP $FFCRON/massmail.php

# Weekly db vacuum (should be done after ALL OTHER JOBS)
50 2 * * Mon $FFUSER $PHP $FFCRON/vacuum.php

# Create SCM repositories
0 * * * * root $PHP $FFCRON/create_scm_repos.php

# Daily site backup
0 2 * * *  root $PHP $FFCRON/backup_site.php

#
# IMPORTANT!! READ THE README.root file before continuing!
#

# Create the shell users accounts and groups home directories
15 * * * * root $PHP $FFCRON/homedirs.php

# Create the new mailing lists
06 * * * * root $PHP $FFCRON/mail/mailing_lists_create.php

# Create the /etc/aliases file
08 * * * * root $PHP $FFCRON/mail/mailaliases.php

# Send email to users with pending tasks
#30 5 * * 1,2,3,4,5 root $PHP $FFCRON/daily_task_email.php

