1 FFDIR=/usr/share/gforge
2 MWCRON=/usr/share/gforge/src/plugins/mediawiki/cronjobs
5 # You may need to change the pathname to php CLI (command line interface)
6 PHP="/usr/bin/php -q -d include_path=.:/etc/gforge:/usr/share/gforge:/usr/share/gforge/www/include:/usr/share/gforge/plugins"
8 # Don't mail command output to anyone.
12 # Regular cron jobs for the plugin-mediawiki package
15 # Create new mediawikis four times an hour
16 0,15,30,45 * * * * root [ -x $MWCRON/create-wikis.php ] && $PHP $MWCRON/create-wikis.php
17 1,16,31,46 * * * * root [ -x $MWCRON/create-imagedirs.php ] && $PHP $MWCRON/create-imagedirs.php
19 # Create wiki XML dumps every night
20 55 1 * * * root [ -x $MWCRON/dump-wikis.php ] && $PHP $MWCRON/dump-wikis.php