From f1dc7614b543e37de7c4b893c0f9feead621a1b0 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sun, 7 Oct 2007 17:28:46 +0000 Subject: [PATCH] Adding some traces here and there --- admin/cron.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/admin/cron.php b/admin/cron.php index b46e9159e2..dbb0be0ce3 100644 --- a/admin/cron.php +++ b/admin/cron.php @@ -302,10 +302,12 @@ if (!empty($CFG->notifyloginfailures)) { notify_login_failures(); + mtrace('Notified login failured'); } flush(); sync_metacourses(); + mtrace('Synchronised metacourses'); // // generate new password emails for users @@ -335,14 +337,20 @@ if(!empty($CFG->usetags)){ require_once($CFG->dirroot.'/tag/lib.php'); tag_cron(); + mtrace ('Executed tag cron'); } // Accesslib stuff cleanup_contexts(); + mtrace ('Cleaned up contexts'); gc_cache_flags(); + mtrace ('Cleaned cache flags'); // If you suspect that the context paths are somehow corrupt // replace the line below with: build_context_path(true); build_context_path(); + mtrace ('Built context paths'); + + mtrace("Finished clean-up tasks..."); } // End of occasional clean-up tasks -- 2.39.5