Anyway to have it autorestart after a crash or a script to make it restart every X amount of hours? Tried to modify my CCminer script to get it to work with DTSM but no luck.
Not sure if this is what you want, but for DSTM after exiting due to for example "gpu 0 unresponsive - check overclocking", to restart it with 60 seconds cooldown I use this simple bat file:
:mine
timeout 60
cd dstm
zm --server ssl://eu1-zcash.flypool.org --port 3443 --user t1N1eJnRtQuyai6ewvQsaJe3ACWAvHykqhu --time
cd..
echo DSTM MINER RESTARTED AT %TIME% %DATE% >> dstm_log.txt
goto mine
It also create dstm_log.txt file where you have time and date when restart occurred (but without why, that you have to find in main window).
Oh BTW I have miner in folder dstm and bat file is one level up.