Questions tagged [node-cron]

The node-cron module is tiny task scheduler in pure JavaScript for node.js based on GNU crontab. This module allows you to schedule task in node.js using full crontab syntax.

198 questions
-1
votes
1 answer

How to fix design pattern error for cron in node.js?

I would like to make a cron that runs every day from 8am to 11pm. const cron = require('node-cron'); cron.schedule('0 8/5 * * *', () => { console.log('run the application from 8 am to 11 pm'); }); but when I try to execute this file it gives…
Troxscizz
  • 1
  • 1
-1
votes
1 answer

Add Cron Job to Function (node.js, express, react, mongodb)

Can you help me with cron function in my app? I'm stuck with it( Here's my "track.controller.js" and "server.js" with "multiTrack" function. multiTrack() function starts re-crawling process by users URL's, it's starts manually via button in users…
Pavel
  • 1
  • 3
-1
votes
1 answer

How can i make a service in node js that will perform task for different users in different specific time that stored in Database

I want to make a service in nodejs that will perform some task for different users in different time. I have some idea about node-corn. But it do task in fixed time for one user i guess. Can i write any servic for multiple user in different…
1 2 3
13
14