Crates.io | cronparse |
lib.rs | cronparse |
version | 0.5.1 |
source | src |
created_at | 2015-07-04 21:30:40.373985 |
updated_at | 2016-07-11 08:34:19.629136 |
description | Crontab files parser |
homepage | |
repository | https://github.com/kstep/cronparse.rs.git |
max_upload_size | |
id | 2532 |
size | 50,702 |
Alpha version
Usage:
[dependencies]
cronparse = "*"
extern crate cronparse;
use cronparse::crontab::UserCrontabEntry;
use cronparse::CrontabFile;
fn main() {
let crontab = CrontabFile::<UserCrontabEntry>::new("/var/spool/cron/kstep").unwrap();
for entry in crontab {
println!("{:?}", entry);
}
}
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.