diff options
Diffstat (limited to 'scripts/error-report')
-rwxr-xr-x | scripts/error-report | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/error-report b/scripts/error-report deleted file mode 100755 index 9a28f37..0000000 --- a/scripts/error-report +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -# At the end of the day, scan the logs of planet/universe, -# grep for errors, sort them, count the duplicate URLs -# and email the planet admins with the result - -for instance in planet universe; do - echo "ERRORS in ${instance}" - find /var/log/planet.gentoo.org/${instance} -type f -atime -7 -exec grep "ERROR" {} \; | grep -v "Errno" | sort | uniq -c -done |