2017年6月15日
摘要: 关闭防火墙:systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firewall开机启动firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开 阅读全文
posted @ 2017-06-15 00:51 FantasyBoy 阅读(4597) 评论(1) 推荐(0) 编辑
摘要: 写完crontab定时任务,并不知道他的执行结果,我们可以通过grep "脚本名" /var/log/cron命令,查看执行的结果 发现定时任务执行失败的原因后,先查看有几个定时任务 crontab -e 编辑定时任务(大家都知道) crontab - l 当前用户的定时任务 crontab -r 阅读全文
posted @ 2017-06-15 00:31 FantasyBoy 阅读(4631) 评论(0) 推荐(0) 编辑