title: How do invoke script with another node script?
body: <p>I have an node app that runs as a cron job every few seconds:</p>
  
  <pre><code>   var CronJob = require('cron').CronJob;
     new CronJob('*/5 * * * * *', function(){
         console.log('Here invoke a script called requestdata');
     }, null, true, "America/Los_Angeles");
  </code></pre>
  
  <p>and I just want to call a script without invoking functions on it. So its not </p>
  
  <pre><code>          requestdata.foo();
  </code></pre>
  
  <p>but just call requestdata in same directory.  how is this done?  If it was on command line I would just do:</p>
  
  <pre><code>     node requestdata
  </code></pre>
  
  <p>but how do I do this inside another script?</p>