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
- Host: GitHub
- URL: https://github.com/berquerant/cron2date
- Owner: berquerant
- Created: 2023-12-28T01:56:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-04-10T10:19:13.000Z (2 months ago)
- Last Synced: 2026-04-10T12:25:36.308Z (2 months ago)
- Topics: cron, go
- Language: Go
- Homepage:
- Size: 103 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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")
```