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

Adjustable MAX_CLOCK_DIFF #53

Closed
grunkyb opened this issue Apr 28, 2022 · 1 comment
Closed

Adjustable MAX_CLOCK_DIFF #53

grunkyb opened this issue Apr 28, 2022 · 1 comment

Comments

@grunkyb
Copy link

grunkyb commented Apr 28, 2022

This feature request relates to the discussion in #30 about sources of log entries reading "System Time Change Detected!" and refreshing schedules.

Processes I'm running overnight on a Pi 3B+ take up enough CPU time that they cause multiple instances where the system time drifts enough that differences are greater than 5000 ms set by MAX_CLOCK_DIFF. This happens even with the overnight processes being run at high nice values. The result is processes starting that were previously stopped.

Please could you add a feature that would allow me to tailor this value from within NR (rather than manually editing a line)? Or please could you suggest a workaround?

@Steve-Mcl
Copy link
Owner

in v2, the env var CRONPLUS_MAX_CLOCK_DIFF can be set to a higher ms value. Default is 5000.

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

No branches or pull requests

2 participants