UNPKG

@freearhey/chronos

Version:

Node.js CLI tool for running scripts on a schedule

30 lines (18 loc) 614 B
# chronos Node.js CLI tool for running scripts on a schedule. ## Installation ```sh npm install -g @freearhey/chronos ``` ## Usage ```sh chronos --execute="echo Hello World" --pattern="*/15 * * * * *" ``` Arguments: - `-e, --execute`: command to be executed - `-p, --pattern`: cron pattern - `-l, --log`: enable console log (default: `false`) ## Contribution If you find a bug or want to contribute to the code or documentation, you can help by submitting an [issue](https://github.com/freearhey/chronos/issues) or a [pull request](https://github.com/freearhey/chronos/pulls). ## License [MIT](LICENSE)