Skip to content

Commit

Permalink
backport of commit bbdc8b7
Browse files Browse the repository at this point in the history
  • Loading branch information
Antvirf authored Jun 24, 2024
1 parent dded3cb commit 2d79e86
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions website/content/docs/job-specification/periodic.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,16 @@ consistent evaluation when Nomad spans multiple time zones.

## `periodic` Parameters

- `cron` `(string: <required>)` - 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;
Expand Down

0 comments on commit 2d79e86

Please sign in to comment.