* with FusionForge; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+
+/*
+ * This script runs the plugin-specific cron jobs typically located in
+ * /usr/share/gforge/plugins/PLUGIN_NAME/cronjobs/
+ */
require (dirname(__FILE__).'/../common/include/env.inc.php');
require_once $gfcommon.'include/pre.php';
-if (count ($argv) < 2) {
+if (count ($argv) < 3) {
echo "Usage: .../forge_run_plugin_job <plugin> <jobname> [ <parameter> ... ]
" ;
exit (1) ;