title: Nodejs cron plugin vs running nodejs script from crontab
body: <p>I'm building a tool where users can enter a number of items they are interested in. Every 24 hours I want to run a script that checks certain JSON responses from external sources for these topics.</p>
  
  <p>My question is: why would you make a script and run it using crontab rather than making a module using the <a href="https://github.com/ncb000gt/node-cron" rel="noreferrer">node-cron</a> plugin and include it in your app.js file. Or would you never do this?</p>
  
  <p>Basically want to go for best practice on this one.</p>