piotrturski / cron-parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cron expression parser

Some parsers / specs have very relaxed validation rules and allows eg: * *,*/26 * * * while others treat it as an error. The following code also treats such expressions as an error.

Build & run

With java 11, from the project directory:

./gradlew build shadowJar
java -jar ./build/libs/cron-all.jar "* * * * * /bin/echo"

About


Languages

Language:Kotlin 100.0%