node package manager

hook.io-cron

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"
      }
    }
  ]
}