I can't manage to run my cron with nightmarejs.   The first iteration of the function get_data() works great but after that the cron restarts and the function will not be triggered again.  Also "crawl ended" is never logged.  Do you know...
I have a JavaScript file which does some processing and calls a php file in the end. I need to do this entire processing on the server using a cron tab.  Can I write my JavaScript file as   <?php     echo '<script type="text/javascript&...
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 have a node(v0.7.3-pre) server with node-cron(0.3.2) and node-time(0.8.2):  var cronJob = require('cron').CronJob; var cronJ = new cronJob({  cronTime: "00 29 16 6 * *",  onTick: function() {   console.log("Tick");  },  star...
I am trying to run an node script with crontab but its not working as I expected (Ubuntu 12.04). In my crontab file I got  */1   * * * *     node /home/me/path/to/script.js > /home/me/path/to/output  This produces empty string output while it shou...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.