Project

General

Profile

Feature #1996 » dellog.sh

yanwei li, 04/27/2022 03:15 PM

 
1
#!/bin/sh
2
find /var/log/nginx -mtime +7 -type f -name \*.log | xargs rm -f
3
nginx -s reload
(4-4/5)