Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up error with wrong snippet (24.04) #3357

Merged
merged 1 commit into from
Dec 11, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ The **Manage Credentials** link opens the **Backup Credentials** screen where yo
{{< /truetable >}}

{{< expand "Advanced Scheduler" "v" >}}
{{< include file="/static/includes/AdvancedScheduler.md" >}}
{{< include file="/static/includes/SCALEAdvancedScheduler.md" >}}
{{< /expand >}}

### Advanced Options Settings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ The **More Options** specify other settings related to when and how the rsync oc
{{< /expand >}}

{{< expand "Advanced Scheduler" "v" >}}
{{< include file="/static/includes/AdvancedScheduler.md" >}}
{{< include file="/static/includes/SCALEAdvancedScheduler.md" >}}
{{< /expand >}}

{{< expand "More Options Settings" "v" >}}
Expand Down
94 changes: 0 additions & 94 deletions static/includes/AdvancedScheduler.md

This file was deleted.

68 changes: 42 additions & 26 deletions static/includes/SCALEAdvancedScheduler.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,37 +34,53 @@ The **Schedule Preview** displays when the current settings mean the task runs.

### Examples of CRON syntax

TrueNAS lets users create flexible schedules using the advanced cron syntax.
The tables below have some examples:

<table class="truetable">
<thead>
<tr>
<th>Syntax</th>
<th>Meaning</th>
<th>Examples</th>
</tr>
</thead>
<tbody>
<tr>
<td> * </td>
<td>Every item.</td>
<td>* (minutes) = every minute of the hour.<br/>* (days) = every day.</td>
</tr>
<tr>
<td> */N </td>
<td>Every N<sup>th</sup> item.</td>
<td>*/15 (minutes) = every 15th minute of the hour.<br/>*/3 (days) = every 3rd day.<br/>*/3 (months) = every 3rd month.</td>
</tr>
<tr>
<td>Comma and hyphen/dash</td>
<td>Each stated item (comma)<br/>Each item in a range (hyphen/dash).</td>
<td>1,31 (minutes) = on the 1st and 31st minute of the hour.<br/>1-3,31 (minutes) = on the 1st to 3rd minutes inclusive, and the 31st minute, of the hour.<br/>mon-fri (days) = every Monday to Friday inclusive (every weekday).<br/>mar,jun,sep,dec (months) = every March, June, September, December.</td>
</tr>
</tbody>
<thead>
<tr>
<th>Syntax</th>
<th>Meaning</th>
<th>Examples</th>
</tr>
</thead>
<tbody>
<tr>
<td>*</td>
<td>Every item.</td>
<td>
* (minutes) = every minute of the hour.<br />
* (days) = every day.
</td>
</tr>
<tr>
<td>*/N</td>
<td>Every N<sup>th</sup> item.</td>
<td>
*/15 (minutes) = every 15th minute of the hour.<br />
*/3 (days) = every 3rd day.<br />
*/3 (months) = every 3rd month.
</td>
</tr>
<tr>
<td>Comma and hyphen/dash</td>
<td>
Each stated item (comma)<br />
Each item in a range (hyphen/dash).
</td>
<td>
1,31 (minutes) = on the 1st and 31st minute of the hour.<br />
1-3,31 (minutes) = on the 1st to 3rd minutes inclusive, and the 31st minute, of the hour.<br />
mon-fri (days) = every Monday to Friday inclusive (every weekday).<br />
mar,jun,sep,dec (months) = every March, June, September, December.
</td>
</tr>
</tbody>
</table>

You can specify days of the month or days of the week.

TrueNAS lets users create flexible schedules using the available options. The table below has some examples:

<table class="truetable">
<thead>
<tr>
Expand Down
Loading