run for shop
#3

location: /lc2/CashServer/cash.exe

 

run:

 

#!/bin/bash
while ( : ) do
DATE=`date`
if [ -r .shutdown ]; then
rm -f .shutdown
fi
mono ./cash.exe
DATE2=`date`
if [ -r .shutdown ]; then
echo "***** Shutdown $DATE ~ $DATE2" >> rebootlog
exit
fi
echo "!!!!! Reboot $DATE ~ $DATE2" >> rebootlog
sleep 2
done

 

start.sh:

 

./run cash_test start &

 

startService.sh

 

 

cd /lc2/;
cd CashServer;
./start.sh;



Messages In This Thread
[No subject] - by Izirayd - 01-02-2013, 09:39 PM
[No subject] - by redbull - 01-03-2013, 06:37 AM
[No subject] - by Soul - 01-03-2013, 07:17 AM
[No subject] - by Izirayd - 01-03-2013, 10:23 AM
[No subject] - by luoo - 01-03-2013, 12:05 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)