git-pusher 0.1.2

Small CLI helper to track changes in repos and push them to a remote
Documentation
extern crate job_scheduler;
use job_scheduler::{Job, JobScheduler};
use std::time::Duration;

fn main() {
    let config = git_pusher::load_config().unwrap();
    let mut sched = JobScheduler::new();

    sched.add(Job::new(
        git_pusher::get_cron(&config).parse().unwrap(),
        || {
            git_pusher::autopush_repos(&config);
        },
    ));
    loop {
        sched.tick();
        std::thread::sleep(Duration::from_millis(500));
    }
}