shell脚本每天自动统计网站访问日志并发送到钉钉
#!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin export PATH function notify(){ curl "https://oapi.dingtalk.com/robot/send?access_tok...
#!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin export PATH function notify(){ curl "https://oapi.dingtalk.com/robot/send?access_tok...
#!/bin/sh #Created by rocdk890 log_path="/var/log/" #日志记录的目录地址 log_file="svn.log" #默认日志文件名称 log_file_new=${log_path}${log_file}-$(date +%Y%m%d)...