Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/enterprise/updating-apps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To configure automatic updates:

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

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.
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.

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

Expand Down
8 changes: 5 additions & 3 deletions docs/reference/cron-expressions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Cron Expressions

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_.
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.

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_.

## Syntax

Expand Down Expand Up @@ -122,7 +124,7 @@ You can use one of the following predefined schedule values instead of a cron ex
</tr>
<tr>
<td>@default</td>
<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>
<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>
<td>0 * * * *</td>
</tr>
</table>
Expand All @@ -135,7 +137,7 @@ You can also schedule the job to operate at fixed intervals, starting at the tim
@every DURATION
```

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.
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.

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.

Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

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

[[redirects]]
from = "https://docs.replicated.com/release-notes"
Expand Down
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ const sidebars = {
'reference/template-functions-static-context',
],
},
'reference/cron-expressions',
],
},
'vendor/install-with-helm',
Expand Down