8 lines
184 B
Bash
Executable File
8 lines
184 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Set content type to JSON
|
|
echo "Content-Type: application/json"
|
|
echo
|
|
|
|
# Read the JSON file and get only the last entry using jq
|
|
jq 'last' /tmp/signal_graphs/data_usage.json |