From 2d79e86e6a4e49f9df980c15d852104b1458832e Mon Sep 17 00:00:00 2001 From: Antti Date: Mon, 24 Jun 2024 15:35:20 +0000 Subject: [PATCH] backport of commit bbdc8b7fa7585216878de2aaddfe088964003395 --- website/content/docs/job-specification/periodic.mdx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/website/content/docs/job-specification/periodic.mdx b/website/content/docs/job-specification/periodic.mdx index ad19c7080d4..021a727b09d 100644 --- a/website/content/docs/job-specification/periodic.mdx +++ b/website/content/docs/job-specification/periodic.mdx @@ -34,17 +34,16 @@ consistent evaluation when Nomad spans multiple time zones. ## `periodic` Parameters -- `cron` `(string: )` - Specifies a cron expression configuring the +- `cron` (_deprecated_: Replaced by `crons` in 1.6.2) `(string)` - Specifies a cron expression configuring the interval to launch the job. In addition to [cron-specific formats][cron], this - option also includes predefined expressions such as `@daily` or `@weekly`. + option also includes predefined expressions such as `@daily` or `@weekly`. Either `cron` or `crons` must be set, but not both. - `crons` - A list of cron expressions configuring the intervals the job is launched at. The job runs at the next earliest time that matches any of the expressions. Supports predefined expressions such as `@daily` and `@weekly`. Refer to [the documentation](https://github.com/hashicorp/cronexpr#implementation) for full - details about the supported cron specs and the predefined expressions. - Conflicts with `cron`. + details about the supported cron specs and the predefined expressions. Either `cron` or `crons` must be set, but not both. - `prohibit_overlap` `(bool: false)` - Specifies if this job should wait until previous instances of this job have completed. This only applies to this job;