Skip to content

Add support for delay option for boot trigger #259

@sjaeger-godaddy

Description

@sjaeger-godaddy

Use Case

When a task should be run time X after boot (e.g. run a script 10 minutes after boot)

Describe the Solution You Would Like

Add the delay parameter to be usable for boot triggers:
https://learn.microsoft.com/en-us/windows/win32/taskschd/taskschedulerschema-delay-boottriggertype-element

Additional Context

Config would be like this:

trigger => [{
'schedule' => 'boot',
'minutes_delay' => '10'
}],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions