hpr_hub/bin/run-speedtest.bash

7 lines
186 B
Bash
Raw Permalink Normal View History

2024-10-20 19:12:39 +00:00
#!/bin/bash
# * * * * * /usr/local/bin/run-speedtest.bash >/dev/null 2>&1
speedtest-cli --json | jq '.' > /var/www/html/speedtest.json
chown apache:apache /var/www/html/speedtest.json