1.0.0 • Published 2 years ago

@jfhbrook/cronkite v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

cronkite

a dumb little cron-like scheduler built with node-cron

usage

cronkite loads a json file of cron expressions and commands. for example:

{
  "crontab": [
    [ "*/15 * * * *", "echo 'testing 123'" ]
  ]
}

if this file is in ./crontab.json, you can run:

npx @jfhbrook/cronkite

if the file has a different name, you can pass it in explicitly:

npx @jfhbrook/cronkite -- cron.json

license

Apache 2.0. See the LICENSE file for details.