Commit 17f81ace authored by Julian Brost's avatar Julian Brost
Browse files

remove obscure systemd timer specification

parent d15c6c3f
......@@ -6,8 +6,8 @@ CURDATE=$(date +%s)
OUTDIR=/var/www/temperature
url() {
olddate=$(date --date="$1" +%s)
printf "http://localhost:3621/render/dashboard-solo/db/public-temperature?orgId=1&from=%d000&to=%d000&panelId=1&width=1000&height=500&theme=light" "${olddate}" "${CURDATE}"
olddate=$(date --date="$1" +%s)
printf "http://localhost:3621/render/dashboard-solo/db/public-temperature?orgId=1&from=%d000&to=%d000&panelId=1&width=1000&height=500&theme=light" "${olddate}" "${CURDATE}"
}
fetch() {
......
......@@ -2,12 +2,8 @@
Description=CIP update temperature graph images from grafana (Timer Unit)
[Timer]
# Run immediately after boot for hosts which are not running 24-7 (powersafe).
OnBootSec=1m
# Run every 5 minutes. (the expression was copied from the
# cip-monitoring-tools-run.timer unit, i don't fully understand it
# -- js 2017-08-02)
OnCalendar=*:04/5:42
OnUnitActiveSec=5m
[Install]
WantedBy=multi-user.target
......@@ -2,12 +2,8 @@
Description=CIP import temperature graph images (Timer Unit)
[Timer]
# Run immediately after boot for hosts which are not running 24-7 (powersafe).
OnBootSec=1m
# Run every 5 minutes. (the expression was copied from the
# cip-monitoring-tools-run.timer unit, i don't fully understand it
# -- js 2017-08-02)
OnCalendar=*:04/5:42
OnUnitActiveSec=5m
[Install]
WantedBy=multi-user.target
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment