Try to search your question here, if you can't find : Ask Any Question Now ?

How to set schedule to run a certain file at a certain timing?

HomeCategory: stackoverflowHow to set schedule to run a certain file at a certain timing?
john asked 2 weeks ago

I want to try run this file on command prompt at 10am everyday, but this code does not seem to be working.

const schedule = require("node-schedule");
var dailyJob = schedule.scheduleJob("0 0 10 * *", function() {
   console.log("Its connecting to database....");
});
dailyJob.start();
1 Answers
Best Answer
Mikhail answered 2 weeks ago
Your Answer

15 + 3 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com