摘要: 1.编写脚本,配置脚本路径, 给脚本加执行权限 通过url可以直接发送请求:http://your-ip:8012/sendnotify.cgi?msg=123&receiver=用户名 脚本通过iconv函数和EOF方法将标题和内容里的汉字转化为GB2312格式 #!/bin/bash rtxus 阅读全文
posted @ 2020-12-12 17:25 老虎死了还有狼 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 1.将bwService文件放到 /etc/init.d/下 bwService文件(类型是文件) #!/bin/bash # # This shell script takes care of starting and stopping # the Bw system. # # chkconfig 阅读全文
posted @ 2020-12-12 16:45 老虎死了还有狼 阅读(273) 评论(0) 推荐(0) 编辑