We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
log_file="cloudflare.log" 是否可改为 log_file="cloudflare_$(date +%Y%m).log" 按月份记录日志并且增加删除3个月以前的日志 rm -f cloudflare_$(date -d '3 months ago' +%Y%m).log 这样可以防止忘记删除日志导致空间被占用过多,相信有一部分人放在路由器上同步ddns的。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
log_file="cloudflare.log"
是否可改为
log_file="cloudflare_$(date +%Y%m).log"
按月份记录日志并且增加删除3个月以前的日志
rm -f cloudflare_$(date -d '3 months ago' +%Y%m).log
这样可以防止忘记删除日志导致空间被占用过多,相信有一部分人放在路由器上同步ddns的。
The text was updated successfully, but these errors were encountered: