Fix the Reboot() method + Daily
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user