Skip to content
Permalink
Browse files

adding support for customized cronjob

  • Loading branch information...
toyomoyo
toyomoyo committed Nov 30, 2007
1 parent 5ed7235 commit 79aa6172501bc1fffe3bf66581a6fb07d9bdd6de
Showing with 9 additions and 0 deletions.
  1. +9 −0 admin/cron.php
@@ -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();

0 comments on commit 79aa617

Please sign in to comment.
You can’t perform that action at this time.