adding support for customized cron

This commit is contained in:
toyomoyo
2007-11-30 02:00:04 +00:00
parent 69882467d4
commit ba9b44f976
+9
View File
@@ -511,6 +511,15 @@
}
}
}
// run any customized cronjobs, if any
// looking for functions in lib/local/cron.php
if (file_exists($CFG->libdir.'/local/cron.php')) {
mtrace('Processing customized cron script ...', '');
include_once($CFG->libdir.'/local/cron.php');
mtrace('done.');
}
//Unset session variables and destroy it
@session_unset();