Actions
Bug #18846
closedAgent run schedule problem
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
51
Name check:
To do
Fix check:
Checked
Regression:
Description
I have found a problem with the agent run schedule.
When I set the schedule in the WebUI to:
- Run agent every: 1 Hour
- First run time: 0 Hours, 50 Minutes
- Maximum delay: 0 Hours, 0 Minutes
the agent is still only executed on the hour.
Is my assumption correct that these settings are located on the client in the file /var/rudder/cfengine-community/inputs/rudder.json
?
If so, then I have probably already found part of the error.
With the above settings, the file contains:
"AGENT_RUN_INTERVAL":"60", "AGENT_RUN_SCHEDULE":"\"Hr00.Min00\", \"Hr01.Min00\", \"Hr02.Min00\", \"Hr03.Min00\", \"Hr04.Min00\", \"Hr05.Min00\", \"Hr06.Min00\", \"Hr07.Min00\", \"Hr08.Min00\", \"Hr09.Min00\", \"Hr10.Min00\", \"Hr11.Min00\", \"Hr12.Min00\", \"Hr13.Min00\", \"Hr14.Min00\", \"Hr15.Min00\", \"Hr16.Min00\", \"Hr17.Min00\", \"Hr18.Min00\", \"Hr19.Min00\", \"Hr20.Min00\", \"Hr21.Min00\", \"Hr22.Min00\", \"Hr23.Min00\"", "AGENT_RUN_SPLAYTIME":"0",
where you can see that the minutes setting seems to have been ignored.
Actions