Test cronu
This commit is contained in:
@@ -6,7 +6,7 @@ if (!defined('GLPI_ROOT')) {
|
||||
|
||||
|
||||
|
||||
class PluginRemoteSupportComputer extends CommonDBTM {
|
||||
class PluginRemotesupportRemotesupport extends CommonDBTM {
|
||||
|
||||
static function showInfo($item) {
|
||||
|
||||
@@ -40,4 +40,15 @@ class PluginRemoteSupportComputer extends CommonDBTM {
|
||||
echo '</table>';
|
||||
|
||||
}
|
||||
|
||||
static function cronRemotesupport($task) {
|
||||
Toolbox::logInFile("remotsupport",'Starting search of agents');
|
||||
return true;
|
||||
}
|
||||
|
||||
static function cronInfo($name) {
|
||||
return [
|
||||
'description' => "Agent search remotesupport"];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user