Periodic jobs always are evaluated in UTC TZ

This commit is contained in:
Alex Dadgar
2016-04-12 09:47:25 -07:00
parent e263f91463
commit b63f3bb078
5 changed files with 11 additions and 7 deletions

View File

@@ -174,7 +174,9 @@ The `job` object supports the following keys:
```
* `periodic` - `periodic` allows the job to be scheduled at fixed times, dates
or intervals. The `periodic` block supports the following keys:
or intervals. The periodic expression is always evaluated in the UTC
timezone to ensure consistent evaluation when Nomad Servers span multiple
time zones. The `periodic` block supports the following keys:
* `enabled` - `enabled` determines whether the periodic job will spawn child
jobs. `enabled` is defaulted to true if the block is included.

View File

@@ -189,7 +189,9 @@ The `Job` object supports the following keys:
```
* `Periodic` - `Periodic` allows the job to be scheduled at fixed times, dates
or intervals. The `Periodic` object supports the following attributes:
or intervals. The periodic expression is always evaluated in the UTC
timezone to ensure consistent evaluation when Nomad Servers span multiple
time zones. The `Periodic` object supports the following attributes:
* `Enabled` - `Enabled` determines whether the periodic job will spawn child
jobs.