欢迎来到骑白马的菜鸟的博客

摘要: 1、重启crontab若是遇见“You (cloudlogin) are not allowed to use this program (crontab) See crontab(1) for more information ” 则切换到root用户,再使用命令 #crontab -u 用户名 阅读全文
posted @ 2017-05-04 09:28 骑白马的菜鸟 阅读(79201) 评论(0) 推荐(3) 编辑
摘要: 废话不多说,直接上菜了 第一种:在/etc/crontab下设置,指定用户名的 1、vim命令进入/etc/crontab 2、在最后一行加上 59 23 * * * root /root/catalina.out.rm/rm_8080_8081_catalina.sh 如下说明: 3、重启cron 阅读全文
posted @ 2017-05-04 09:27 骑白马的菜鸟 阅读(22646) 评论(1) 推荐(4) 编辑