Post
Topic
Board Announcements (Altcoins)
Re: [ANN] ZERO - COMMUNITY TAKEOVER
by
-Night-
on 09/03/2018, 17:27:26 UTC
Is it possible to auto restart Optiminer with a script via Windows?
File *.vbs

Code:
Set WshShell = WScript.CreateObject("WScript.Shell")
Do
  WshShell.Run "name.bat", 1, True
Loop Until False

Great!  Thanks Night, Ill try this when I get home.

Hey -Night-, it works!  Thank you.  My issue though is when I try to close it manually it keeps popping back up.  I had end process via task manager but thats okay.  Again, thanks for the tip!
To end the restart process, you need to end the *.vbs process in the task manager. Was glad to help.
There is still one problem with restarting the miner when it issues a Windows error and the notification window pops up... This is fixed by fixing the Windows registry.