Function lightspeed_scheduler::new_executor_with_tz[][src]

pub fn new_executor_with_tz(timezone: Option<Tz>) -> JobExecutor

Creates a new Executor that uses a custom time zone for the execution times evaluation. For example, the cron expressions will refer to the specified time zone.