This commit is contained in:
2025-03-23 20:51:29 +00:00
commit 6ffad7f22a
18 changed files with 258 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# weekly truncate the below files to a 100 lines
function trunc() {
echo "$(tail -1000 ${1})" > ${1}
}
trunc /tmp/monitor_emails.log
trunc /tmp/sms.log
trunc /tmp/meteoo.err
trunc /tmp/monitor.err