[Fusionforge-commits] r9620 - trunk/gforge/plugins/mediawiki/packaging/cron.d

Christian Bayle cbayle at libremir.placard.fr.eu.org
Tue Apr 27 22:32:12 CEST 2010


Author: cbayle
Date: 2010-04-27 22:32:11 +0200 (Tue, 27 Apr 2010)
New Revision: 9620

Modified:
   trunk/gforge/plugins/mediawiki/packaging/cron.d/plugin-mediawiki
Log:
Some polishing


Modified: trunk/gforge/plugins/mediawiki/packaging/cron.d/plugin-mediawiki
===================================================================
--- trunk/gforge/plugins/mediawiki/packaging/cron.d/plugin-mediawiki	2010-04-27 20:23:18 UTC (rev 9619)
+++ trunk/gforge/plugins/mediawiki/packaging/cron.d/plugin-mediawiki	2010-04-27 20:32:11 UTC (rev 9620)
@@ -1,3 +1,17 @@
+FFDIR="/usr/share/gforge"
+MWCRON="$FFDIR/plugins/mediawiki/cronjobs"
+FFUSER=gforge
+
+# You may need to change the pathname to php CLI (command line interface)
+PHP="/usr/bin/php -q -d include_path=.:/etc/gforge:/usr/share/gforge:/usr/share/gforge/www/include:/usr/share/gforge/plugins"
+
+# Don't mail command output to anyone.
+MAILTO=""
+
+#
+# Regular cron jobs for the plugin-mediawiki package
+#
+
 # Create new mediawikis four times an hour
-0,15,30,45 * * * * $FFUSER [ -x $FFDIR/plugins/mediawiki/cronjobs/create-wikis.php ] && $PHP $FFDIR/plugins/mediawiki/cronjobs/create-wikis.php
-1,16,31,46 * * * * root [ -x $FFDIR/plugins/mediawiki/cronjobs/create-imgdirs.php ] && $PHP $FFDIR/plugins/mediawiki/cronjobs/create-imagedirs.php
+0,15,30,45 * * * * $FFUSER [ -x $MWCRON/create-wikis.php ] && $PHP $MWCRON/create-wikis.php
+1,16,31,46 * * * * root [ -x $MWCRON/create-imgdirs.php ] && $PHP $MWCRON/create-imagedirs.php




More information about the Fusionforge-commits mailing list