An open API service indexing awesome lists of open source software.

https://github.com/berquerant/cron2date

expand cron expression
https://github.com/berquerant/cron2date

cron go

Last synced: 14 days ago
JSON representation

expand cron expression

Awesome Lists containing this project

README

          

# cron2date

```
❯ cron2date -h
cron2date - expand cron expression

Usage:

cron2date [flags] CRONEXPR

Flags:
-c int
firing times to display, negative value is ignored (default -1)
-d duration
set the end time to the start time + this duration, negative value is ignored (default -1ns)
-e string
end time
-f string
time layout (default "2006-01-02 15:04:05")
-s string
start time (default current time)
```

# date2cron

```
❯ date2cron -h
date2cron - convert time to cronexpr

Usage:

date2cron [flags] [TIME]

Flags:
-f string
time layout (default "2006-01-02 15:04:05")
```