Unleash Your Server Potential with Expert Insights
Over $120 Million in Payouts!Sponsored by: FundingTicks
Sponsored by: FundingTicks
Category: Bash
cleanup sh
with #!/bin/bash\nfind /var/log -type f -mtime +30 -delete
schedule with crontab -e
: 0 3 * * * /path/to/cleanup sh
Test with /cleanup sh
—expect cleared logs Frees space on Vultr