Skip to content

Commit ce528f1

Browse files
authored
Merge pull request #269 from puppetlabs/release-prep
Release prep v4.0.3
2 parents 01a7a59 + 6cd6616 commit ce528f1

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55

66
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
77

8+
## [v4.0.3](https://github.com/puppetlabs/puppetlabs-scheduled_task/tree/v4.0.3) - 2025-07-16
9+
10+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-scheduled_task/compare/v4.0.2...v4.0.3)
11+
12+
### Other
13+
14+
- Fix rubocop offenses and failing rspecs [#268](https://github.com/puppetlabs/puppetlabs-scheduled_task/pull/268) ([shubhamshinde360](https://github.com/shubhamshinde360))
15+
- update reference file to include other schedule options [#267](https://github.com/puppetlabs/puppetlabs-scheduled_task/pull/267) ([xenon8](https://github.com/xenon8))
16+
- Add delay properties to triggers [#266](https://github.com/puppetlabs/puppetlabs-scheduled_task/pull/266) ([tpowelldev](https://github.com/tpowelldev))
17+
818
## [v4.0.2](https://github.com/puppetlabs/puppetlabs-scheduled_task/tree/v4.0.2) - 2025-02-14
919

1020
[Full Changelog](https://github.com/puppetlabs/puppetlabs-scheduled_task/compare/v4.0.1...v4.0.2)

REFERENCE.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ A trigger can contain the following keys:
7676

7777
* For all triggers:
7878
* `schedule` **(Required)** --- What kind of trigger this is.
79-
Valid values are `daily`, `weekly`, `monthly`, `once`, `boot`, `logon`. Each kind
79+
Valid values are `daily`, `weekly`, `monthly`, or `once`. Each kind
8080
of trigger is configured with a different set of keys; see the
8181
sections below. (`once` triggers only need a start time/date.)
8282
* `start_time` **(Required)** --- The time of day when the trigger should
@@ -91,6 +91,16 @@ A trigger can contain the following keys:
9191
* `disable_time_zone_synchronization` --- Whether or not to disable the
9292
`synchronise across time zones` function. Due to difficulties with the
9393
api this is non idempotent. Defaults to false
94+
* `random_delay` --- A random delay to add to the start time of the trigger.
95+
The format for this string is a duration string like PT15M for 15 minutes or
96+
P1DT3H24M for 1 day, 3 hours and 24 minutes. This property requires a
97+
compatibility of 2 or higher and is only supported for schedule-based triggers
98+
(daily, weekly, monthly, and once).
99+
* `delay` --- A fixed delay to add to the start time of event-based triggers.
100+
The format for this string is a duration string like PT15M for 15 minutes or
101+
P1DT3H24M for 1 day, 3 hours and 24 minutes. This property requires a
102+
compatibility of 2 or higher and is only supported for event-based triggers
103+
(boot, logon, registration, event, and session state change).
94104
* For `daily` triggers:
95105
* `every` --- How often the task should run, as a number of days. Defaults
96106
to 1. ("2" means every other day, "3" means every three days, etc.)
@@ -124,8 +134,6 @@ A trigger can contain the following keys:
124134
* Domain User: `"MyDomain\\MyUser"`
125135
* SID: `"S-15-..."`
126136
* Any User: `''` or `undef`
127-
* For `boot` triggers:
128-
* Only the options in the all triggers section can be provided to `boot` triggers.
129137

130138
Examples:
131139

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppetlabs-scheduled_task",
3-
"version": "4.0.2",
3+
"version": "4.0.3",
44
"author": "puppetlabs",
55
"summary": "Manage scheduled tasks for Windows Server 2012 and newer operating systems.",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)