11-28-2012, 06:57 AM
you have wrote your own error !!!
think about it ! the error is in you own startscript!!!!!
/ home / LastChaos / run = /%home%/%LastChaos%/%run
is not
/home/lastchaos/cashserver
hello crhis i have Script code:
which is the correct script.? plz and sorry
i have cashserver in Home/Lastchaos/mono CashServer.exe
#!/bin/sh
while ( : ) do
DATE=`date`
if [ -r .shutdown ]; then
rm -f .shutdown
fi
#cp ../../new/mono CashServer.exe .
./mono CashServer.exe test
DATE2=`date`
if [ -r .shutdown ]; then
echo "***** Shutdown $DATE ~ $DATE2" >> rebootlog
exit
fi
echo "!!!!! Reboot $DATE ~ $DATE2" >> rebootlog
sleep 2
done

