Add two untracked scripts

This commit is contained in:
2024-12-24 13:12:28 +01:00
parent a8897cc793
commit 1d14028ba0
2 changed files with 55 additions and 0 deletions

4
bin/hpr_ccdn_stats.bash Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
yesterday="$( \date -u +%Y-%m-%d -d yesterday)"
echo -e "${yesterday}\t$( grep -Ec "${yesterday}T.*Sending request to" /home/hpr/logs/naughty-ip.txt )" >> /home/hpr/hub/hpr_ccdn_stats.tsv