-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjusted cf-execd schedule examples to not show ranged minute classes
Using ranged classes for scheduling can result in multiple executions during that period of time as cf-execd should wake up once during each minute to determine if exec_command should be scheduled. Ticket: ENT-11752 Changelog: None (cherry picked from commit 15787d5)
- Loading branch information
1 parent
d5c11ea
commit 69cdf34
Showing
3 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,14 +38,14 @@ These body settings determine the behavior of `cf-execd`,including scheduling | |
times and output capture to `WORKDIR/outputs` and relay via email. | ||
|
||
```cf3 | ||
body executor control | ||
{ | ||
splaytime => "5"; | ||
mailto => "[email protected]"; | ||
mailfrom => "cfengine@$(host).example.org"; | ||
smtpserver => "localhost"; | ||
schedule => { "Min00_05", "Min30_35" } | ||
} | ||
body executor control | ||
{ | ||
splaytime => "5"; | ||
mailto => "[email protected]"; | ||
mailfrom => "cfengine@$(host).example.org"; | ||
smtpserver => "localhost"; | ||
schedule => { "Min00", "Min30" } | ||
} | ||
``` | ||
|
||
|
||
|
@@ -307,10 +307,10 @@ function may be affected by changing the `schedule`. | |
**Example:** | ||
|
||
```cf3 | ||
body executor control | ||
{ | ||
schedule => { "Min00", "(Evening|Night).Min15_20", "Min30", "(Evening|Night).Min45_50" }; | ||
} | ||
body executor control | ||
{ | ||
schedule => { "Min00", "(Evening|Night).Min15", "Min30", "(Evening|Night).Min45" }; | ||
} | ||
``` | ||
|
||
### smtpserver | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters