@Bill48105
Thank your for your info...
As I'm using Windows I tested your first method with a frequency that I know it hangs about every 3 hours.
I created a .bat file for restarting miner every hour but it happens the same, after about 3 hours it hangs.
I'm using 1 second to restart, will try to use longer time but I think the problem is in the moonlander, it need to be powered off and on again to work.
I have no idea how to do the 2nd method in Windows.