-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
[BUG] Scan only runs on startup #707
Comments
I have the same issue. I see temps gets updated and other stuff but seems like just that date is not getting updated |
did you add |
What needs to be changed to add this? If the image is removed & rebuilt? If the Config directory is recreated? Alternatively Which cron file is it in? I personally don't mind mapping the cron file to a persistent directory, it'll just be an issue if the cron file is changed in the future EDIT: I did discover this
On the pre-existing container I get
On a newly made one I get
but on both I get
I get all the noise if I edit the COLLECTOR_CRON_SCHEDULE in any way. & the only way to get a clean echo is if I create a brand new folder & map to it as well as remove the image. Deleting everything in both folders does not work, but creating a new folder does. I cannot figure out where the problem is coming from, so i cannot figure out how to bypass of fix it... |
Describe the bug
The scan only runs when the docker container is restarted, it never runs when it should via cron.
Expected behavior
I expect the scans to run daily based on the cron
Screenshots
Screenshot
Log Files
Logs show no errors that I can see and nothing happens at the time the cron should run.
Docker Compose
in another terminal trigger the collector
docker exec scrutiny scrutiny-collector-metrics run
I ran this command but it did not produce any log file in the config directory
Please also provide the output of
docker info
The text was updated successfully, but these errors were encountered: