Cronjob middleware for bragg
This little piece of middleware makes it possible to handle Cronjob events as if they where normal requests.
$ npm install --save bragg-cron
const app = ;const router = ;const cron = ;router;app;app;exportshandler = app;
cron: prefix is attached by this module and is followed by the name of the rule that originated the event. The time at when the cronjob executed the function is provided in the
body property of the
MIT © Sam Verschueren