meltdown - a dead man's switch for hook.io
if you don't meltdown::pushthebutton
before the meltdown::critical
happens, all hook.io jobs you added with meltdown::jobs::add
will execute.
npm install meltdown -g
meltdown
hook.emit('meltdown::jobs::add', {"event":"custom-event", "data" : {"foo":"bar"}});
this will now execute when meltdown::critical
occurs.
hook.emit('meltdown::pushthebutton');
all is well, reset the countdown