Crates.io | cron_cal |
lib.rs | cron_cal |
version | 0.1.0 |
source | src |
created_at | 2022-04-27 13:25:00.989854 |
updated_at | 2022-04-27 13:25:00.989854 |
description | CLI to calculate cron schedules |
homepage | |
repository | https://github.com/thekuwayama/cron_cal |
max_upload_size | |
id | 576050 |
size | 25,076 |
cron_cal
is CLI to calculate cron schedules.
You can install cron_cal
with the following:
$ cargo install cron_cal
$ cron_cal --help
cron_cal 0.1.0
CLI to calculate cron schedules
USAGE:
cron_cal [OPTIONS]
OPTIONS:
-d, --date <date> start date [default: 2022-04-07]
--days <days> target days [default: 1]
-h, --help Print help information
-V, --version Print version information
You can calculate cron schedules with the following:
$ cat << EOS | cron_cal
> "30 9 * * * *", 5
> "30 12 * * * *", 5
> "30 15 * * * *", 5
> EOS
2022-04-07 09:30 ~ 2022-04-07 09:35
2022-04-07 12:30 ~ 2022-04-07 12:35
2022-04-07 15:30 ~ 2022-04-07 15:35
minute (0-59)
| hour (0-23)
| | day of the month (1-31)
| | | month of the year (1-12)
| | | | day of the week (0-6 with 0=Sunday)
| | | | | year, optionaly (1970-2100)
"* * * * * (*)", ${run time}
cron_cal_wasm
is a Web Application to calculate cron schedules using wasm.
https://thekuwayama.github.io/cron_cal/
Licensed under either of