3 # Copyright 1999-2001 (c) VA Linux Systems
4 # Copyright 2002-2004 (c) GForge, LLC, Ognyan Kulev
7 # YOUR php.ini FOR PHP CLI MUST HAVE APPROPRIATE include_path
10 # Change path to the GForge directory.
12 FFCRON="/opt/gforge/cronjobs"
14 # You may need to change the pathname to php CLI (command line interface)
17 # Don't mail command output to anyone.
21 # Regular cron jobs for the db-postgresql package
24 # Daily reporting process
25 25 7 * * * $FFUSER $PHP $FFCRON/reporting_cron.php
27 # Recalculate user popularity metric
28 25 1 * * * $FFUSER $PHP $FFCRON/calculate_user_metric.php
30 # Daily recalculate of the sums under the trove map
31 30 1 * * * $FFUSER $PHP $FFCRON/db_trove_maint.php
33 # Daily deletion of sessions, closing jobs, etc
34 35 1 * * * $FFUSER $PHP $FFCRON/project_cleanup.php
36 # Daily crunching of survey data and other associated ratings
37 40 1 * * * $FFUSER $PHP $FFCRON/rating_stats.php
39 # Daily crunching of project summary data (counts)
40 42 1 * * * $FFUSER $PHP $FFCRON/db_project_sums.php
42 # Daily close pending artifacts
43 43 1 * * * $FFUSER $PHP $FFCRON/check_stale_tracker_items.php
45 # Daily project_weekly_metric recalc
46 12 1 * * * $FFUSER $PHP $FFCRON/project_weekly_metric.php
48 # Daily rotation of the activity_log
49 0 0 * * * $FFUSER $PHP $FFCRON/rotate_activity.php
51 # Daily aggregating of the numbers
52 15 0 * * * $FFUSER $PHP $FFCRON/site_stats.php
54 # Daily sweep of the stats into final tables
55 45 0 * * * $FFUSER $PHP $FFCRON/db_stats_agg.php
57 # Hourly send pending massmailings, if any
58 48 * * * * root $PHP $FFCRON/massmail.php
60 # Weekly db vacuum (should be done after ALL OTHER JOBS)
61 50 2 * * Mon $FFUSER $PHP $FFCRON/vacuum.php
66 0 2 * * * root $PHP $FFCRON/backup_site.php
69 # IMPORTANT!! READ THE INSTALL file before continuing!
72 # Create the new mailing lists
73 #06 * * * * root $PHP $FFCRON/mail/mailing_lists_create.php
75 # Create the /etc/aliases file
76 #08 * * * * root $PHP $FFCRON/mail/mailaliases.php
78 # Send email to users with pending tasks
79 30 5 * * 1,2,3,4,5 root $PHP $FFCRON/daily_task_email.php
81 # Create the /etc/* files needed for CVS
82 10 * * * * root $PHP $GFORGE/plugins/scmcvs/cronjobs/usergroup.php
84 # Upload the SSH key files needed for CVS
85 15 * * * * root $PHP $GFORGE/plugins/scmcvs/cronjobs/ssh_create.php
87 # Create the blank cvs trees
88 20 * * * * root $PHP $GFORGE/plugins/scmcvs/cronjobs/cvs.php
91 5 2 * * * root $PHP $GFORGE/plugins/scmcvs/cronjobs/tarballs.php
93 # Create CVS snapshots
94 # CVSROOT and SCMSNAPSHOTSDIR variables are hard-coded in the script, so
95 # you'll have to edit the script if necessary.
97 35 2 * * * root /bin/sh $GFORGE/plugins/scmcvs/cronjobs/snapshots.sh generate
99 # Create the blank svn trees for SVN-over-DAV
100 # (all repositories owned by apache)
101 21 * * * * root $PHP $GFORGE/plugins/scmsvn/cronjobs/create_svn.php
103 # Create SVN snapshots
104 # SVNROOT and SCMSNAPSHOTSDIR variables are hard-coded in the script, so
105 # you'll have to edit the script if necessary.
106 35 3 * * * root /bin/sh $GFORGE/plugins/scmsvn/cronjobs/snapshots.sh generate
108 # Daily SVN stats collection
109 20 1 * * * root $PHP $GFORGE/plugins/scmsvn/cronjobs/svn-stats.php
111 # Create SVN tarballs
112 5 3 * * * root $PHP $GFORGE/plugins/scmsvn/cronjobs/tarballs.php