By: on May 23, 2018
Cron Jobs are used for scheduling tasks to run on the server.CRON Jobs are most commonly used method to automate tasks on Server. In this article, we will see how to schedule JOBS in Node.js. We are going to use node-schedule package for scheduling JOBS. node-schedule is a light cron-like scheduler Package for Node JS. Installing node-schedule npm install node-schedule Setting up Scheduler var scheduler = require('node-schedule'); var rule = new scheduler.RecurrenceRule(); rule.h...
86 views 2 likes
Page generated in 3.4272 seconds with 26 queries and GZIP enabled on