Run functions in a timely fashion
npm install cronjob-protocol``JSON`
{
"protocols": [
{
"configuration": {...},
"protocolType": "cronjob-protocol",
"protocolVersion": "latest"
}
]
}
, periodMillis, arguments`.- bopsName: The name of the BOp you want to execute.
- periodMillis: The time interval in which you want to run the function, in milliseconds.
- arguments: The arguments for your BOp when it is run. These arguments are hardcoded.