pub struct CronJob { /* private fields */ }
Expand description

The object to create and execute cronjobs for yout application.

Implementations

Constructs new CronJob object.

Set checking interval in millis

Returns the schedule for the cronjob, with this you are able to get the next occurences.

Starts the cronjob without threading.

Starts the cronjob with threading. Stops when application quits.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.