diff options
author | Simon Rettberg | 2020-05-15 17:24:05 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-05-15 17:29:16 +0200 |
commit | 426e574b85d363cd5a1fa256034dc2a281fc7272 (patch) | |
tree | d60738f67176e991dcd84d16079d85ff2168b243 /modules-available/remoteaccess/hooks/cron.inc.php | |
parent | [rebootcontrol] Wait until tasks finish (diff) | |
download | slx-admin-426e574b85d363cd5a1fa256034dc2a281fc7272.tar.gz slx-admin-426e574b85d363cd5a1fa256034dc2a281fc7272.tar.xz slx-admin-426e574b85d363cd5a1fa256034dc2a281fc7272.zip |
[remoteaccess] New module
Diffstat (limited to 'modules-available/remoteaccess/hooks/cron.inc.php')
-rw-r--r-- | modules-available/remoteaccess/hooks/cron.inc.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules-available/remoteaccess/hooks/cron.inc.php b/modules-available/remoteaccess/hooks/cron.inc.php new file mode 100644 index 00000000..3e0e130b --- /dev/null +++ b/modules-available/remoteaccess/hooks/cron.inc.php @@ -0,0 +1,6 @@ +<?php + +if (!Module::isAvailable('rebootcontrol')) + return; + +RemoteAccess::ensureMachinesRunning(); |