这是在LINUX下的一个。SH文件
while true
do
cd /usr/local/sms/SmsPlatform/classes
nohup java -Dfile.encoding=gbk main.MainPlatformSystem &
wait
echo "reboot Sms Platform on `date`"
done
这里为什么要加“-Dfile.encoding=gbk ”
while true
do
cd /usr/local/sms/SmsPlatform/classes
nohup java -Dfile.encoding=gbk main.MainPlatformSystem &
wait
echo "reboot Sms Platform on `date`"
done
这里为什么要加“-Dfile.encoding=gbk ”
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货