I have a windows software that freezes after a while (it doesn't restart by itself) and I found a fix for it that works on my home computer.
I made a batch file that runs the software, then waits 20 minutes and then closes it and restarts.
I tried running it on the server with Wine but it doesn't work, I think it said that it's not an available command, I even tried the ping trick to make it sleep before restarting but without success.
Is there a way to make it wait in another way? Help appreciated!

The batch file:
@ECHO OFF
COLOR 57
CLS
:loop
START software.exe
TIMEOUT /t 600 >null
TASKKILL /f /im software.exe >nul
GOTO loop
:END