This is what my crontab looks like. (I don't have the 6 hour one added, but you don't need double entries. for the others, just add the lines for 1h and 6h)Hi all,
I'm wanting to make the 1h and 6h charts from the earlier post on page 4.
Again, looks straight forward - my query is regarding the cron settings.
I open up my cron with cron -e, it loads up the current cron (schedule?), showing the commented out "intro text", s0 I imagine that is the right file.
Looking at the cron settings for the 1h and 6h tasks, the code snippet on that post has tasks for 1h and 6h (as I'd expect), but also for 24h, 7d, 30d etc - which the addition of the 1h and 6h charts dont require?
As my cron is empty - and make-graphs.sh clearly works - I guess make-graphs doesnt actually use cron?
If so, why does the 1h and 6h cron schedule call schedules for the "original" 24 h, 7d etc as provided by default?
(Ultimately, just cautious of screwing up the original chart functions).
(... snipped comment stuff ...) # m h dom mon dow command 0,5,10,15,20,25,30,35,40,45,50,55 * * * * sudo /home/pi/dump-tools/collectd/make-graphs.sh 1h >/dev/null 2,12,22,32,42,52 * * * * sudo /home/pi/dump-tools/collectd/make-graphs.sh 24h >/dev/null 4,24,44 * * * * sudo /home/pi/dump-tools/collectd/make-graphs.sh 7d >/dev/null 6 * * * * sudo /home/pi/dump-tools/collectd/make-graphs.sh 30d >/dev/null 8 */12 * * * sudo /home/pi/dump-tools/collectd/make-graphs.sh 365d >/dev/null