摘要: 需要使用到shell命令和crontab命令 下面我们新建一个脚本叫做run.sh 写入以下内容,./run.sh 执行一下如果http开启会生成日志写入 run.log,否则将会启动httpd s= ps -fe |grep "/usr/sbin/httpd" #搜索httpd进程是否存在ls_d 阅读全文
posted @ 2018-03-15 09:20 galen-bin 阅读(1639) 评论(0) 推荐(0) 编辑