Smart Processes Management
Schedule Trigger for Runnerty:
Through NPM
npm i @runnerty/trigger-scheduleYou can also add modules to your project with runnerty
npx runnerty add @runnerty/trigger-scheduleThis 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-scheduleAdd in config.json:
{
"triggers": [
{
"id": "schedule_default",
"type": "@runnerty-trigger-schedule"
}
]
}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 * * * *"
}
]
}