Question

cron.schedule(“* * * * *”, function () { console.log(“Running Cron Job”); });

Posted March 10, 2020 92 views
Node.js

const sec = 10;

cron.schedule(“sec * * * *”, function () { console.log(“Running Cron Job”); });

Can I write variable like this??

0 answers
Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!