
I have to manually perform these tasks:
cd /home && screen wine serv.exe
renice -20 -p [PID]
How to do as in sh script to check whether serv.exe is on and when it turns off run it and set renice then in crontab I only add somethink like this
10,20,30,40,50,59 1-23 * * * root /home/script.sh
I almost forgot, I'm using debian.