diff --git a/webcron.php b/webcron.php index 63b296e..9a1d7ce 100644 --- a/webcron.php +++ b/webcron.php @@ -39,7 +39,7 @@ if (file_exists("cache/get-services.trigger")) { if (file_exists("cache/reboot-time.trigger") && file_get_contents("cache/reboot-time.trigger") < time()) { $rebootjobs = unserialize(file_get_contents("cache/get-services.trigger")); $services = array(); - exec("sudo systemctl list-units --all | cat", $services); + exec("sudo systemctl list-units | cat", $services); $services = implode("\n", $services); foreach($rebootjobs as $job) {