How to use the nodal.Scheduler function in nodal

To help you get started, we’ve selected a few nodal examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github keithwhor / nodal / src / schedulers / main.js View on Github external
'use strict';

const Nodal = require('nodal');
const scheduler = new Nodal.Scheduler();

/* generator: begin imports */

const DummyTask = Nodal.require('tasks/dummy_task.js');

/* generator: end imports */

/* generator: begin tasks */

scheduler.minutely(30).perform(DummyTask);

/* generator: end tasks */


module.exports = scheduler;

nodal

An API Server and Framework for node.js

MIT
Latest version published 2 years ago

Package Health Score

45 / 100
Full package analysis