diff --git a/class/actions_globalnotify.class.php b/class/actions_globalnotify.class.php index 31d671f..243d720 100644 --- a/class/actions_globalnotify.class.php +++ b/class/actions_globalnotify.class.php @@ -75,6 +75,9 @@ class ActionsGlobalNotify extends CommonHookActions $langs->load('globalnotify@globalnotify'); + // Check for stuck cron jobs on each page load (with caching) + $this->checkStuckCronJobs(); + $notify = new GlobalNotify($this->db); $unreadNotifications = $notify->getAllNotifications($user->id, true); $readNotifications = $notify->getReadNotifications($user->id, 20);