ansemjo / speedtest-plotter

running scheduled speedtests inside docker and plotting the results with gnuplot
MIT License
60 stars 12 forks source link

Docker env possibility to change how often test is run #77

Closed mr-honest closed 2 years ago

mr-honest commented 2 years ago

Hi,

Would it be possible to change how often the script is run, via docker env variable? Instead of 15 min, for example 2 hours.

ansemjo commented 2 years ago

I see you've closed this issue yourself already. Just to document the expected method, for a schedule like "every two hours" you could use: -e SCHEDULE="20 */2 * * *". If you want to use odd hours, you'll need to specify them fully: -e SCHEDULE="20 1,3,5,7,9,11,13,15,17,19,21,23 * * *".

mr-honest commented 2 years ago

Hi. Sorry didn' see into the closed items. And also missed it in the documentation.

However made two new issues im not sure has been raised before.