Add two untracked scripts
This commit is contained in:
4
bin/hpr_ccdn_stats.bash
Normal file
4
bin/hpr_ccdn_stats.bash
Normal 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
|
Reference in New Issue
Block a user