Config adding...

This commit is contained in:
Jaroslav Drzik
2021-12-22 11:36:32 +01:00
parent a8e21ef76c
commit cffcb3ea64
3 changed files with 125 additions and 0 deletions

View File

@@ -37,6 +37,8 @@ function plugin_init_remotesupport()
'Computer' => array('PluginRemotesupportRemotesupport', 'showInfo'),
);
Plugin::registerClass('PluginRemotesupportConfig', ['addtabon' => 'Config']);
CronTask::Register('PluginRemotesupportRemotesupport', 'remotesupport', 300,
['mode' => 2, 'allowmode' => 3, 'logs_lifetime' => 30,
'comment' => 'Remotesupport crontab search agents']);