Task scheduler for node.js
With tasks.js you can schedule events in node.js.
If you have
dietjs then it's already installed.
npm install diet-tasks
// Initialize Dietjs Appvar app = options;// Initialize Taskstasks; // initalizetasks; // complete all due tasks (because of a power failure, system reboot, server restart etc.)// CREATE a tasktasks
These are callbacks when the task finished.
Basic and date arguments are restricted and should never be used to pass data with them.
Date arguments (at least one is required)
Custom arguments: Everything else you add is a custom argument and can be used to pass additional data to the callback function.