Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onlinecheck changes #10

Open
andrew-naish opened this issue Nov 23, 2020 · 0 comments
Open

onlinecheck changes #10

andrew-naish opened this issue Nov 23, 2020 · 0 comments

Comments

@andrew-naish
Copy link
Owner

Use cron instead of while sleep

It's what cron is made for after all.
There is already a baked in 15min interval, I can use that.
https://devopsheaven.com/cron/docker/alpine/linux/2017/10/30/run-cron-docker-alpine.html

Replace ONLINECHECK_DELAY with ONLINECHECK_QUERYURL

I think I should remove the option to easily set the delay and instead add the option to configure the query URL.
After switching to cron this will be harder to set anyway.
The default is and will remain https://www.google.co.uk if unset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant