cronjob-protocol
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

Cronjob Protocol

Run your BOps in meta-system in a timely fashion.

How to use it

This protocol is meant to be downloaded as a plugin for meta-system. A simple mention of the name on your system configuration would be enough for downloading it!

{
  "protocols": [
    {
      "configuration": {...},
      "protocolType": "cronjob-protocol",
      "protocolVersion": "latest"
    }
  ]
}

Configuration

The configuration for this protocol is an object with three properties: bopsName, 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.

Package Sidebar

Install

npm i cronjob-protocol

Weekly Downloads

1

Version

1.0.7

License

GPL-3.0

Unpacked Size

44.7 kB

Total Files

11

Last publish

Collaborators

  • flgmjr