pub fn start(mut self) {
        thread::spawn(move || loop {
            for job in &mut self.jobs {
                job.execute();
            }
            thread::sleep(self.interval.clone());
        });
    }
/// start will execute the given job for given interval.
start will execute the given job for given interval.
start will execute the given job for given interval .
pub fn start(mut self) {
        thread::spawn(move || loop {
            for job in &mut self.jobs {
                job.execute();
            }
            thread::sleep(self.interval.clone());
        });
    }
pub fn start ( mut self ) { thread :: spawn ( move | | loop { for job in & mut self . jobs { job . execute ( ) ; } thread :: sleep ( self . interval . clone ( ) ) ; } ) ; }
start will execute the given job for given interval.
start will execute the given job for given interval .
mut self