1 FFDIR="/usr/share/gforge"
2 MWCRON="$FFDIR/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 * * * * $FFUSER [ -x $MWCRON/create-wikis.php ] && $PHP $MWCRON/create-wikis.php
17 1,16,31,46 * * * * root [ -x $MWCRON/create-imgdirs.php ] && $PHP $MWCRON/create-imagedirs.php