Shnezzin / breitbandmessung

Perform breitbandmessung.de speedtests in an automated way
4 stars 2 forks source link

Crontab not working correctly #2

Closed geaz closed 2 years ago

geaz commented 2 years ago

First of all, thanks for the project!

I have a problem with the docker container. This is my config:

[Docker Config]
timezone=Europe/Berlin
crontab=0 */2 * * *
run_once=false
run_on_startup=false

Unfortunately the run_once flag is just ignored as it seems. According to the entrypoint.sh I would expect an output info about setting the crontab.

grafik

Instead the script just starts the measurement and terminates the container afterwards. Anything I misconfigured? Here the console output:

grafik

Thanks for the help!

Shnezzin commented 2 years ago

Thank you for the praise.

Regarding your problem, I was able to reproduce the error. I assume that there are spaces in your configuration, which is why the configuration can not be read correctly. I have adjusted the reading of the configuration. Could you test it again, if it now works correctly?

The container is still being created. In about 20 minutes the current version should be available at docker hub.

geaz commented 2 years ago

Works like a charm now. Thank you!