From e0f5b902c638f1f9b389efe05ad15a2764ed81fc Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 7 Jun 2022 19:53:33 +0300 Subject: readme: add cron usage example --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) 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 ``` -- cgit v1.2.3