Schedule a task
Schedule a task
The name of this task
The amount of time to wait before the first execution
The period with which to execute the task. If < 0 the task will execute only once.
The unit for the preceding times.
Shutdown this scheduler.
Shutdown this scheduler. When this method is complete no more executions of background tasks will occur. This includes tasks scheduled with a delayed execution.
Initialize this scheduler so it is ready to accept scheduling of tasks
A scheduler for running jobs
This interface controls a job scheduler that allows scheduling either repeating background jobs that execute periodically or delayed one-time actions that are scheduled in the future.