public static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { global $CFG_GLPI; if ($item->getType() == 'CronTask') { $target = $CFG_GLPI["root_doc"] . "/plugins/accounts/front/notification.state.php"; PluginAccountsAccount::configCron($target); } return true; }