From 72cdc8baac98c1da056caad64b0d658e532af99c Mon Sep 17 00:00:00 2001 From: "Nicholas St. Germain" Date: Tue, 17 Apr 2018 12:00:30 -0500 Subject: [PATCH] Update README.md --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8a6c525..d82f301 100644 --- a/README.md +++ b/README.md @@ -15,4 +15,15 @@ Requirements /w install links: [Grafana](http://docs.grafana.org/installation/), 4. Click the + on your menu and click import. Using the .json provided in this repo, paste it in and customize as you like. ## Notes -To run the python scripts, I leverage crontab. I run tautulli and ombi every 30seconds and radarr/sickrage/sonarr/couchpotato every 30 minutes +To run the python scripts crontab is currently leveraged. Examples: +```sh +### Modify paths as appropriate. python3 is located in different places for different users. (`which python3` will give you the path) +### to edit your crontab entry, do not modify /var/spool/cron/crontabs/ directly, use `crontab -e` +### Crontabs require an empty line at the end or they WILL not run. Make sure to have 2 lines to be safe +### It is bad practice to run any cronjob more than once a minute. For timing help: https://crontab.guru/ +* * * * * /usr/bin/python3 /path-to-grafana-scripts/ombi.py +* * * * * /usr/bin/python3 /path-to-grafana-scripts/tautulli.py +*/30 * * * * /usr/bin/python3 /path-to-grafana-scripts/radarr.py +*/30 * * * * /usr/bin/python3 /path-to-grafana-scripts/sonarr.py +*/30 * * * * /usr/bin/python3 /path-to-grafana-scripts/sickrage.py +```