I'm building a web app in Node/Express such that users can set a timer so that a certain task gets executed or repeated. My question is how can I set timer for many users with an event triggered after deadline. I don't want to handle this on...
We are storing schedules as cron expressions in database. The schedules are modified in a web page and I'm using Later.js for this. Works great to parse the Cron expression. Now I would like to output the modified schedule to a Cron expression th...
I have php file that is to be executed as cronjob, this php file contains some javascript.  I will explain the flow :   the Php is used to retrive some data(A LIST OF URLS) from DB. For each URL Obtained, a Java script API is used. THe result Obj ret...
Does anyone know of any existing solutions using javascript that can parse a crontab and return all datetime instances between a given start and end date?  ie if i have 0 * * * *, start 24/10/2011 16:00 and end 24/10/2011 19:00 then it will return:...
I'm using a node module called node-schedule  I have this function, it is expected to fire ONCE at the start of each quarter.   var rule = {hour: 0, minute: 0, day: 1, month: [0, 3, 6, 9]};  var logCost = schedule.scheduleJob(rule, function(){...
Hey guys so I'm building a Meteor application that is using a mongo database.  I have a collection that could potentially have 1000s of documents that need to be updated at different times...  Do I run setTimeouts on creation or a cron job that r...
what my page do is:   download an array from different server (first.php) php script parse values parsed values are sent with ajax call on the next (ajax called) page (second.php) there are some mysql queries if values pass condition, values are writ...
Is there any javascript alternative to Cronjob?   The thing is, my boss doesn't want to use CronJob anymore for daily executions and told me that if we can do it with javascript instead of CronJob.  I wrote a php+javascript code. It basically col...
I've currently got a cron job setup where it runs a Node.js script. The Node.js script uses the dotenv package to read a .env file that has some API keys.  When I run the Node.js script from the command line, the variables are read correctly from...
My problem is that i want to run cron job at 10:00 of night.   This is my code:  var job = new CronJob('0 0 0 * * *', function() {  })...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.