Skip to content

Commit

Permalink
Merge pull request #3270 from nickanderson/ENT-11752/3.18
Browse files Browse the repository at this point in the history
ENT-11752: Adjusted cf-execd schedule examples to not show ranged minute classes (3.18)
  • Loading branch information
nickanderson authored May 2, 2024
2 parents d5c11ea + 69cdf34 commit 4fe4128
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion examples/example-snippets/set_up_hpc_clusters.cf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body executor control
mailmaxlines => "30";
# Once per hour, on the hour

schedule => { "Min00_05" };
schedule => { "Min00" };
}
#######################################################

Expand Down
24 changes: 12 additions & 12 deletions reference/components/cf-execd.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
}
```


Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions reference/components/cf-hub.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ body hub control
{
# Collect reports every at the top and half of the hour. Additionally collect
# reports during the evening or night between Minute 45 and 50.
# reports during the evening or night at Minute 45.
hub_schedule => { "Min00", "Min30", "(Evening|Night).Min45_50" };
hub_schedule => { "Min00", "Min30", "(Evening|Night).Min45" };
}
```
Expand Down

0 comments on commit 4fe4128

Please sign in to comment.