| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Command line interface to cron-utils, a Java library to parse, validate, migrate crons as well as get human readable descriptions for them. The project follows the Semantic Versioning Convention
Download
cron-utils-cli is available on Maven central repository.
<dependency>
<groupId>com.cronutils</groupId>
<artifactId>cron-utils-cli</artifactId>
<version>7.0.1</version>
</dependency>
cron-utils CLI
We provide a simple CLI interface to use cron-utils right from console, without writing a new project! cron-utils-cli uses semantic versioning, but since lifecycle does not match the one of the core library, references the tag commit hash in core as metadata in satellite libraries release versions as means to keep traceability to the core library.
Usage: java -jar cron-utils-cli.jar com.cronutils.cli.CronUtilsCLI --validate -f [CRON4J|QUARTZ|UNIX|SPRING] -e '<cron expression>'
Example: java -jar cron-utils-cli.jar com.cronutils.cli.CronUtilsCLI --validate -f UNIX -e '* 1 * * *'
Print Description: java -jar cron-utils-cli.jar com.cronutils.cli.CronUtilsCLI --describe --language en -f UNIX -e '* 1 * * *'
If you want a standalone jar without requiring the 'cp', build an uber jar with :
mvn assembly:assembly -DdescriptorId=jar-with-dependenciesThen, launch cli-utils (built in the target directory) with :
java -jar cron-utils-cli-<version>-jar-with-dependencies.jar com.cronutils.cli.CronUtilsCLI --validate -f [CRON4J|QUARTZ|UNIX] -e '<cron expression>'`Contribute & Support!
Contributions are welcome! You can contribute by
Check our page! For stats about the project, you can visit our OpenHUB profile.
Support us donating once or by subscription through Flattr!
Other cron-utils projects
You are welcome to visit and use the following cron-utils projects:
| Back | FazBrowse Home | New Git URL |