Wednesday 15 August 2012

node.js - Difference between node-cron module and Heroku Scheduler -



node.js - Difference between node-cron module and Heroku Scheduler -

i have node app running on heroku. want jobs run periodically every few seconds, in order fetch info external mysql db mongodb. after extensive search have found lot of ways this.

my problem cannot understand difference between cron-module , heroku scheduler , pros , cons.

some differences spotted: if utilize heroku scheduler there limit of 10 minutes minimum. if utilize node-cron module, run in main index.js file , run every few seconds if want to.

but how 2 methods affected when running multiple dynos? in case scripts run multiple duplicated times?

node.js mongodb heroku cron

No comments:

Post a Comment