Skip to content

Commit 0d70c29

Browse files
committed
Remove unsupported special characters
1 parent 2a7ee4b commit 0d70c29

File tree

1 file changed

+5
-24
lines changed

1 file changed

+5
-24
lines changed

docs/reference/cron-expressions.md

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The following table lists the required cron fields and supported values:
3333
<tr>
3434
<td>Day-of-month</td>
3535
<td>1 through 31</td>
36-
<td>, - * ? L W </td>
36+
<td>, - * ? </td>
3737
</tr>
3838
<tr>
3939
<td>Month</td>
@@ -43,12 +43,14 @@ The following table lists the required cron fields and supported values:
4343
<tr>
4444
<td>Day-of-week</td>
4545
<td>1 through 7 or SUN through SAT</td>
46-
<td>, - * ? L</td>
46+
<td>, - * ?</td>
4747
</tr>
4848
</table>
4949

5050
## Special Characters
5151

52+
Replicated uses the cron v3 Go library. For more information about usage, see [cron](https://pkg.go.dev/github.com/robfig/cron/v3).
53+
5254
The following table describes the supported special characters:
5355

5456
<table>
@@ -72,14 +74,6 @@ The following table describes the supported special characters:
7274
<td>Question mark (?)</td>
7375
<td> Specifies that one or another value can be used. For example, enter <code>5</code> for Day-of-the-month and <code>?</code> for Day-of-the-week to check for updates on the 5th day of the month, regardless of which day of the week it is.</td>
7476
</tr>
75-
<tr>
76-
<td>L</td>
77-
<td>Specifies the last day of the month or week respectively for the Day-of-month or Day-of-week fields.</td>
78-
</tr>
79-
<tr>
80-
<td>W</td>
81-
<td>Specifies the "N-th" occurrence or given day in the month. For example, the second Friday of the month is specified as <code>6#2</code>.</td>
82-
</tr>
8377
</table>
8478

8579
## Predefined Schedules
@@ -151,21 +145,8 @@ The following examples show valid cron expressions to schedule checking for upda
151145
30 11 * * *
152146
```
153147
154-
- At 6:00 PM on the fourth Monday of every month:
155-
156-
```
157-
0 18 ? * 2#4
158-
```
159-
160-
- At midnight on the last day of every month:
161-
162-
```
163-
0 0 L * ?
164-
```
165-
166148
- After 1 hour and 45 minutes, and then every interval following that:
167149
168150
```
169151
@every 1h45m
170-
```
171-
152+
```

0 commit comments

Comments
 (0)