José Rebelo
ca7bd2c151
Use exec on scrutiny-collector cron to ensure signal handling
...
This way SIGTERM gets propagated and the container terminates
gracefully.
2024-03-09 22:46:07 +00:00
Jason Kulatunga
ad4b117f6e
fixes #412
...
Added ability to trigger collector at startup.
Disabled by default, (enable by setting `-e COLLECTOR_RUN_STARTUP=true`)
Added COLLECTOR_RUN_STARTUP_SLEEP env variable to specify seconds before calling scrutiny collector on first run, default sleep value = 1s.
2023-01-11 17:41:09 -08:00
Jason Kulatunga
a35c3bae08
make 50-cron-config and entrypoint-collector.sh mirrors of each other. This is for ease of maintainability.
...
related #121
2022-05-14 22:04:46 -07:00
Jason Kulatunga
a004f85145
fixing cron.
...
related #121
2022-05-12 15:24:51 -07:00
Jason Kulatunga
5dc79134b2
cron file consistent logging (still broken)
2022-05-12 13:20:54 -07:00
Jason Kulatunga
646d0eff15
change the environmental variable to COLLECTOR_CRON_SCHEDULE
2022-05-01 22:13:11 -07:00
Jason Kulatunga
75de6ebfe0
addign ability to customize the scrutiny collector cron schedule using SCRUTINY_COLLECTOR_CRON_SCHEDULE env variable.
...
similar to https://github.com/linuxserver/docker-scrutiny/pull/19
fixes https://github.com/linuxserver/docker-scrutiny/issues/17
fixes https://github.com/AnalogJ/scrutiny/issues/161
fixes https://github.com/AnalogJ/scrutiny/issues/66
fixes https://github.com/AnalogJ/scrutiny/issues/202
fixes https://github.com/AnalogJ/scrutiny/issues/121
2022-05-01 22:01:34 -07:00
Jason Kulatunga
8a46931399
!!!!WIP!!!!
...
adding InfluxDB
- influxdb added to dockerfile
- influxdb s6 service
- influxdb config
- adding defaults to config
- creating a DeviceRepo interface (multiple db backends)
- implemented DeviceRepo interface as ScruitnyRepository
2021-06-27 10:55:18 -07:00
Jason Kulatunga
33d4b99a4b
fix collector.
2021-04-26 10:03:40 -07:00
Jason Kulatunga
011642a708
WIP.
...
Removed references to Jobber, replaced with Cron.
Created crontab at /etc/cron.d/scrutiny
Running cron in foreground.
Adding timezone support
Working Collector image (untested master).
2021-04-24 12:27:09 -07:00