public static void Stop() { Process.Start(ShutdownProcess.process(command, "-a")); Log.Information("Shutdown aborted."); }
public void Start() { Process.Start(ShutdownProcess.process(command, parameters())); Log.Information($"Shutdown scheduled for {targetTime}."); }