diff --git a/grab-data.py b/grab-data.py deleted file mode 100644 index fa9ae1a..0000000 --- a/grab-data.py +++ /dev/null @@ -1,18 +0,0 @@ -import json -import subprocess -from datetime import datetime - -## creating the JSON - -## grabbing the logged in users since yesterday -last_here = subprocess.run(["last", "-s", "today"], capture_output=True) -logged_in_today = subprocess.run(["sudo journalctl -S yesterday _COMM=systemd-logind -o json"], capture_output=True) -output = json.loads(last_here) - -print(output) - -today = datetime.today().strftime('%Y-%m-%d-%H:%M:%S') - -with open("data_" + today + ".json", 'w') as f: - print(output, file = f) - diff --git a/renders/output.html b/renders/output.html deleted file mode 100644 index 75a270a..0000000 --- a/renders/output.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - Document - - -

I am a HTML page fillllllled with data, such as the b'up 1 week, 6 hours, 32 minutes\n'

- -