@runnerty/trigger-schedule

3.1.0 • Public • Published

Smart Processes Management

NPM version Downloads Dependency Status code style: prettier

Schedule Trigger for Runnerty:

Installation:

Through NPM

npm i @runnerty/trigger-schedule

You can also add modules to your project with runnerty

npx runnerty add @runnerty/trigger-schedule

This command installs the module in your project, adds example configuration in your config.json and creates an example plan of use.

If you have installed runnerty globally you can include the module with this command:

runnerty add @runnerty/trigger-schedule

Configuration:

Add in config.json:

{
  "triggers": [
    {
      "id": "schedule_default",
      "type": "@runnerty-trigger-schedule"
    }
  ]
}

Plan sample:

Add in plan.json:

{
  "triggers": [
    {
      "id":"schedule_default",
      "start_date":"2017-09-05T00:00:00.00Z",
      "end_date":"2099-09-05T00:00:00.00Z",
      "schedule_interval":"*/1 * * * *"
    }
  ]
}

Package Sidebar

Install

npm i @runnerty/trigger-schedule

Weekly Downloads

1

Version

3.1.0

License

MIT

Unpacked Size

6.72 kB

Total Files

10

Last publish

Collaborators

  • coderty