1、打包java项目成jar,注意是否有main方法
2、编写sh脚本runE.sh 给此文件赋权限
3、crontab -e
输入 * * * * * /home/use/ec/bin/runE.sh >> /home/use/ec/logs/ec.log
Linux设置定时器
猜你喜欢
转载自sam-chen.iteye.com/blog/1743911
今日推荐
周排行