Skip to content

Commit e8c4ec7

Browse files
authored
Merge pull request #2710 from replicatedhq/add-cron-expressions-sidebar
Add cron expressions to sidebar
2 parents 6d70ee2 + b4944e8 commit e8c4ec7

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

docs/enterprise/updating-apps.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To configure automatic updates:
3434

3535
To turn off automatic updates, select **Never**.
3636

37-
To define a custom cadence, select **Custom**, then enter a cron expression in the text field. For more information about cron expressions, see [Cron Expressions](/reference/cron-expressions) in _Reference_. Configured automatic update checks use the local server time.
37+
To define a custom cadence, select **Custom**, then enter a cron expression in the text field. For more information about cron expressions, see [Cron Expressions](/reference/cron-expressions). Configured automatic update checks use the local server time.
3838

3939
![Configure automatic updates](/images/automatic-updates-config.png)
4040

docs/reference/cron-expressions.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Cron Expressions
22

3-
This topic describes the supported cron expressions that youc an use to schedule automatic application update checks and automatic backups in the Replicated admin console. For more information, see [Configuring Automatic Updates](/enterprise/updating-apps) and [Schedule Automatic Backups](/enterprise/snapshots-creating#schedule-automatic-backups) in _Creating and Scheduling Backups_.
3+
This topic describes the supported cron expressions that you can use to schedule automatic application update checks and automatic backups in the KOTS Admin Console.
4+
5+
For more information, see [Configuring Automatic Updates](/enterprise/updating-apps) and [Schedule Automatic Backups](/enterprise/snapshots-creating#schedule-automatic-backups) in _Creating and Scheduling Backups_.
46

57
## Syntax
68

@@ -122,7 +124,7 @@ You can use one of the following predefined schedule values instead of a cron ex
122124
</tr>
123125
<tr>
124126
<td>@default</td>
125-
<td><p>Selects the default schedule option (every 4 hours). Begins when the admin console starts up.</p><p>This value can be useful when you are calling the API directly or are editing the KOTS configuration manually.</p></td>
127+
<td><p>Selects the default schedule option (every 4 hours). Begins when the Admin Console starts up.</p><p>This value can be useful when you are calling the API directly or are editing the KOTS configuration manually.</p></td>
126128
<td>0 * * * *</td>
127129
</tr>
128130
</table>
@@ -135,7 +137,7 @@ You can also schedule the job to operate at fixed intervals, starting at the tim
135137
@every DURATION
136138
```
137139

138-
Replace `DURATION` with a string that is accepted by time.ParseDuration, with the exception of seconds. Seconds are not supported by Replicated KOTS. For more information about duration strings, see [time.ParseDuration](http://golang.org/pkg/time/#ParseDuration) in the Go Time documentation.
140+
Replace `DURATION` with a string that is accepted by time.ParseDuration, with the exception of seconds. Seconds are not supported by KOTS. For more information about duration strings, see [time.ParseDuration](http://golang.org/pkg/time/#ParseDuration) in the Go Time documentation.
139141

140142
As with standard cron expressions, the interval does not include the job runtime. For example, if a job is scheduled to run every 10 minutes, and the job takes 4 minutes to run, there are 6 minutes of idle time between each run.
141143

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
[[redirects]]
3838
from = "https://docs.replicated.com/reference"
39-
to = "https://docs.replicated.com/reference/cron-expressions"
39+
to = "https://docs.replicated.com/reference/kots-cli-getting-started"
4040

4141
[[redirects]]
4242
from = "https://docs.replicated.com/release-notes"

sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,7 @@ const sidebars = {
498498
'reference/template-functions-static-context',
499499
],
500500
},
501+
'reference/cron-expressions',
501502
],
502503
},
503504
'vendor/install-with-helm',

0 commit comments

Comments
 (0)