hook.io-cron

0.4.0 • Public • Published

hook.io-cron

emit arbitrary Hook.io events with arbitrary data on specified time intervals

Hook Events Names

jobs::add adds a new job to be executed on a set interval:

Hook config.json data

{
  "jobs" : [
    {
      "event": "hello",
      "data": {
        "prop": "val"
      }
    },
    {
      "event": "test",
      "data": {
        "prop2": "val2"
      }
    },
    {
      "event": "foo",
      "data": {
        "prop3": "val3"
      }
    }
  ]
}
 

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i hook.io-cron

    Weekly Downloads

    2

    Version

    0.4.0

    License

    none

    Last publish

    Collaborators

    • jameson
    • marak