随笔分类 -  springBoot

摘要:最近项目上有个小需求,在Linux下定时重启SpringBoot项目打好的Jar包,定时任务使用crontable。 crontable -e 添加定时任务,例如:*/3 * * * * /usr/lcoal/autoRestart.sh,每3分钟执行autoRestart脚本。 shell脚本大致 阅读全文
posted @ 2021-04-16 16:43 tooker 阅读(3367) 评论(0) 推荐(0)