Project

General

Profile

Actions

Bug #18846

closed

Agent run schedule problem

Added by Lars Koenen over 3 years ago. Updated about 3 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
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.


Subtasks 1 (0 open1 closed)

Bug #18882: Build broken by automatic upmerge of parent ticketReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF