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 15require_once 'cron/functions.php'; 16 17if (date('l') === $conf['plugin']['bez']['weekly_cron_day_of_the_week']) { 18 send_weekly_message(); 19} 20 21send_one_day_task_reminder(); 22 23send_inactive_issue(); 24