WORKAN WOOOO

This commit is contained in:
2025-10-30 00:56:31 -06:00
parent 65cd673fb3
commit 1f385c6640
3 changed files with 20 additions and 13 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
numlogs=500
tmp_log="./chrony_statistics.log"
sudo tail -n $numlogs /var/log/chrony/statistics.log > $tmp_log
sudo chown $USER:$USER $tmp_log
echo "$(wc -l $tmp_log) logs entered"
python chrony_statistics.py
rm -f $tmp_log