Skip to main content

spawn

Function spawn 

Source
pub fn spawn(
    broker: &Arc<Broker>,
    pool: Arc<FsWatchPool>,
    jobs: Arc<Store>,
    scheduler: Arc<CronScheduler>,
)
Expand description

Start watching for the jobs in jobs: reads them now, again every thirty seconds and whenever the jobs change, and starts each due batch’s run through scheduler.