1、打包java項目成jar,注意是否有main方法
2、編寫sh腳本runE.sh 給此檔案賦權限
3、crontab -e
輸入 * * * * * /home/use/ec/bin/runE.sh >> /home/use/ec/logs/ec.log
1、打包java項目成jar,注意是否有main方法
2、編寫sh腳本runE.sh 給此檔案賦權限
3、crontab -e
輸入 * * * * * /home/use/ec/bin/runE.sh >> /home/use/ec/logs/ec.log