aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-06-07 19:53:33 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-06-07 19:53:33 +0300
commite0f5b902c638f1f9b389efe05ad15a2764ed81fc (patch)
treec004ba0ee80841279018d27e6fc3dea98772157a
parentd056ab916d301e5f497075e0e235d274cb113b0a (diff)
readme: add cron usage example
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3e05b72..eb668b3 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,15 @@
Adjust maximum CPU frequency based on environment temperature.
Works with [temphumd](https://git.ch1p.io/homekit.git/tree/src/temphumd.py) server.
+## Usage
+
+The script is supposed to be run by cron.
+
+Crontab line example, running it every 20 minutes:
+```
+*/20 * * * * /usr/local/bin/armbian-envtemp-cpufreq.sh -c /etc/armbian-envtemp-cpufreq.conf >/dev/null
+```
+
## Config example
```