Cronk
See the future schedule for a given cron time
✨ Install
sh -c "$(curl -fsSL https://raw.githubusercontent.com/arivictor/cronk/main/install.sh)"
Install the latest version of Go first.
👨💻 Usage
Give cronk a valid cron time format:
cronk "0 */1 * * MON-FRI"
Cronk will give you back the next 10 (default) scheduled times for the cron relative to the system time (default).
You can also view the scheduled times in another timezone:
cronk "0 */1 * * MON-FRI" --timezone=Australia/Melbourne
Australia/Melbourne time is now: 2023-07-20 22:23:03.991963 +1000 AEST
The next 10 scheduled times for 0 */1 * * MON-FRI are:
1. 2023-07-20 23:00:00 +1000 AEST
2. 2023-07-21 00:00:00 +1000 AEST
3. 2023-07-21 01:00:00 +1000 AEST
...
Note: A cron schedule will obviously only trigger based on the local system time.
You can also increase or reduce the list size:
cronk "0 */1 * * MON-FRI" --limit=50
🚀 Help
For help and examples run:
cronk help