Fix the Reboot() method + Daily

This commit is contained in:
2025-11-10 19:54:11 -05:00
parent 2ce0f43623
commit d4c18e6832
3 changed files with 18 additions and 18 deletions

View File

@@ -34,7 +34,7 @@ namespace MarketData.Utils
public static void Reboot()
{
string arguments = "-r now";
string shutdownProcess = "shutdown";
string shutdownProcess = "/usr/sbin/shutdown";
ProcessStartInfo processStartInfo = new ProcessStartInfo(shutdownProcess, arguments)
{
CreateNoWindow = true,