2018-05-29
#!/bin/bash
echo -e "Please choose you menu: "
select num in 1 2 ; do
case:
case $num in
1)
echo "1.微信群基本信息(group_info)"
titles="微信群基本信息(group_info)"
log="log4j.properties"
job="jobs/fork-group-info.job"
java -jar -Xms512m -Xms1024m online/libs/com.ucreater-1.0-SNAPSHOT.jar ${log} ${job}
echo "==================接口取数结束================"
echo "=======若要再次执行请按两次Enter即可=========="
;;
2)
echo "2.微信群消息数据(group_msg_rec)"
titles="微信群消息数据(group_msg_rec)"
log="log4j.properties"
job="jobs/fork-msg.job"
java -jar -Xms512m -Xms1024m online/libs/com.ucreater-1.0-SNAPSHOT.jar ${log} ${job}
echo "==================接口取数结束================"
echo "=======若要再次执行请按两次Enter即可=========="
;;
*)
echo "go out!"
break
;;
esac
done
网友评论