diff --git a/docs/reference/cron-expressions.md b/docs/reference/cron-expressions.md index 1420e06223..b60ef756bf 100644 --- a/docs/reference/cron-expressions.md +++ b/docs/reference/cron-expressions.md @@ -33,7 +33,7 @@ The following table lists the required cron fields and supported values: Day-of-month 1 through 31 - , - * ? L W + , - * ? Month @@ -43,12 +43,14 @@ The following table lists the required cron fields and supported values: Day-of-week 1 through 7 or SUN through SAT - , - * ? L + , - * ? ## Special Characters +Replicated uses an external cron Go library. For more information about it's usage, see [cron](https://pkg.go.dev/github.com/robfig/cron/v3). + The following table describes the supported special characters: @@ -72,14 +74,6 @@ The following table describes the supported special characters: - - - - - - - -
Question mark (?) Specifies that one or another value can be used. For example, enter 5 for Day-of-the-month and ? 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.
LSpecifies the last day of the month or week respectively for the Day-of-month or Day-of-week fields.
WSpecifies the "N-th" occurrence or given day in the month. For example, the second Friday of the month is specified as 6#2.
## Predefined Schedules @@ -151,21 +145,8 @@ The following examples show valid cron expressions to schedule checking for upda 30 11 * * * ``` -- At 6:00 PM on the fourth Monday of every month: - - ``` - 0 18 ? * 2#4 - ``` - -- At midnight on the last day of every month: - - ``` - 0 0 L * ? - ``` - - After 1 hour and 45 minutes, and then every interval following that: ``` @every 1h45m - ``` - + ``` \ No newline at end of file