1<?php 2 3//include base config 4$inc = realpath(__DIR__.'/../../..'); 5define('DOKU_INC', $inc.'/'); 6 7// load and initialize the core system 8require_once(DOKU_INC.'inc/init.php'); 9 10if (empty($conf['baseurl']) || empty($conf['basedir'])) { 11 echo "set baseurl and basedir in dokuwiki config\n"; 12 exit(-1); 13} 14 15$dryrun = false; 16if ($argv[1] == 'dryrun') { 17 $dryrun = true; 18} 19 20require_once 'cron/functions.php'; 21 22if ($dryrun || date('l') === $conf['plugin']['bez']['weekly_cron_day_of_the_week']) { 23 send_weekly_message(); 24} 25 26send_task_reminder(); 27 28send_inactive_issue(); 29