mattpat/node-schedule — Issue #4: Job failed to trigger ...
Author: vkandy
Created: 2012-01-11 20:09:03+00:00
State: open

Hi,

I was hoping you could help me with an issue I am debugging. I use node-schedule like so:

schedule.scheduleJob('0 * * * *', function() {
logger.debug('Fetching triggered.');
parsers.fetch(function() {
parsers.parseAll(function() {
tracker.retryDeferredOffers(cassandra);
});
});
});

The job ran perfectly for 3 weeks but suddenly the trigger stopped firing. Is there anything that would prevent a trigger to fail?

The script that runs this snippet has been running OK. I use node 0.6 and run this in a worker process. One more question, if the callback throws an error, does scheduler still fire subsequent triggers?

Thanks a lot!