planif is a builder pattern wrapper around the windows task scheduler API (windows-rs).
Functionality
The planif crate provides an ergonomic builder over top of the Win32 Task Scheduler API.
The builder supports the following trigger types:
- Boot
- Daily
- Event
- Idle
- Logon
- MonthlyDOW
- Monthly
- Registration
- Time
- Weekly
Usage
Add this to your Cargo.toml file:
[dependencies]
planif = "0.2"
Example
use *;
use TaskCreationFlags;
use ;
For more examples, refer to the planif/examples folder. The folder contains code for creating each of the triggers.
Trigger settings
All settings are available for the tasks.
The documentation contains all relevant information from the Microsoft Task Scheduler documentation.
Changelog
See the changelog file.