-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
[FEAT] Allow manual configuration of cron task which runs metrics collector #66
Comments
This is a fantastic idea. Let me take a look at the Jobber config and see how hard this would be to implement. |
Shouldn’t be too bad I’d assume? I know frick all about containerized
coding, but use the same tactic pretty regularly for python where I need a
unique identifier for reports generated... for instances where you don’t
care what the hell its “named”, so long as you can come as close as
possible to guaranteeing there’s nothing else (anywhere) using that same
name.
…On Sat, Oct 3, 2020 at 8:45 PM Jason Kulatunga ***@***.***> wrote:
This is a fantastic idea. Let me take a look at the Jobber config and see
how hard this would be to implement.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQW5ULQVUIPEQ65WCV24VKTSI7HTVANCNFSM4R6IMBJQ>
.
|
I've since replaced Jobber with Cron. The crontab file is located at Though, now that I think about this further, we could use s6-overlay init functions for the omnibus image, and just a bash HEREDOC file for the collector-specific image. |
…g SCRUTINY_COLLECTOR_CRON_SCHEDULE env variable. similar to linuxserver/docker-scrutiny#19 fixes linuxserver/docker-scrutiny#17 fixes #161 fixes #66 fixes #202 fixes #121
Is your feature request related to a problem? Please describe.
Temperature monitoring should be taken at more regular intervals than every 24 hours. The baked in cron job for this docker image only allows for polling every 24 hours.
Describe the solution you'd like
An update to allow for configurable cron. For docker, a variable called 'SCHEDULE', which accepts cron-style input. i.e. I wish to have metrics collected every 6 hours, so my docker run would look like:
Additional context
Allowing the docker image users the same flexibility as those doing a bare install would be fantastic
The text was updated successfully, but these errors were encountered: