Code: Select all
*/10 * * * * /home/dem/scripts/raw/aura.sh 2>&1 >> /home/dem/aura_error.txt
Code: Select all
#!/bin/bash
# Stopping/starting Aura.exe
PROC="C:\Program Files (x86)\Aura\Aura.exe"
PID=`pidof Aura.exe`
if [ -n "$PID" ]; then
kill $PID
wine "$PROC"
else
wine "$PROC"
fi
exit 0
Code: Select all
./aura.sh
Code: Select all
Process of pid=0042 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
process tid prio (all id:s are in hex)
0000000e services.exe
0000001e 0
0000001d 0
00000014 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001c 0
00000019 0
00000017 0
00000013 0
0000001a plugplay.exe
00000020 0
0000001f 0
0000001b 0
00000021 explorer.exe
00000022 0
winedbg: Internal crash at 0x7ebf141a
I'am using my user cron not root of course, guess all permissions should be fine.