Adds a job to the scheduler, whose schedule is defined by the given cron expression string.
Adds a job to the scheduler, whose schedule is defined by the given cron expression string.
Adds a job to the scheduler, with the given schedule to define when it should be run.
Adds a simple job that executes the given function according to the given schedule.
Adds a job to the scheduler.
Gets the next available id to assign to a scheduled job. This must be unique among all jobs that have been added to the scheduler but not yet removed.
Gets this scheduler's time provider.
Starts the scheduler. Once started, there is no guarantee that all scheduler implementations will allow adding new jobs while running.
Stops the scheduler. This method blocks until shutdown is complete.
Stops the scheduler, and waits for any currently-executing jobs to finish. Equivalent to calling stop(false).
Gets a default job scheduler that's recommended to use for most cases.
A scheduler is the core component of the library; you add jobs to the job scheduler, and then it will execute these according to the job's schedule.