mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
docs: add deprecation notice to cron on docs/job-specification/periodic (#23424)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user