From 70734a8a64f00240615ef48d939cb0c16c5c30db Mon Sep 17 00:00:00 2001 From: Will Longo Date: Tue, 17 Apr 2018 11:18:26 -0500 Subject: [PATCH 1/2] Create crontabs to demonstrate how to setup the cron entries --- crontabs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 crontabs diff --git a/crontabs b/crontabs new file mode 100644 index 0000000..2271cb7 --- /dev/null +++ b/crontabs @@ -0,0 +1,10 @@ +### Modify paths as appropriate +### to edit your crontab entry, do not modify /var/spool/cron/crontabs/ directly, use `crontab -e` +### +* * * * * /usr/bin/python3 /path-to-grafana-scripts/ombi.py +* * * * * ( sleep 30 ; /usr/bin/python3 /path-to-grafana-scripts/ombi.py ) +* * * * * /usr/bin/python3 /path-to-grafana-scripts/taurulli.py +* * * * * ( sleep 30 ; /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 From 6896a5c4322e70706de36af2b2a8ee90a2cd5632 Mon Sep 17 00:00:00 2001 From: "Nicholas St. Germain" Date: Tue, 17 Apr 2018 11:35:15 -0500 Subject: [PATCH 2/2] Added some good-faith notes --- crontabs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crontabs b/crontabs index 2271cb7..413be4e 100644 --- a/crontabs +++ b/crontabs @@ -1,6 +1,7 @@ -### Modify paths as appropriate +### 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 +### * * * * * /usr/bin/python3 /path-to-grafana-scripts/ombi.py * * * * * ( sleep 30 ; /usr/bin/python3 /path-to-grafana-scripts/ombi.py ) * * * * * /usr/bin/python3 /path-to-grafana-scripts/taurulli.py