title: can't import modules into a node script if it runs from cron
body: <p>I have the module underscore installed globally with npm. if I run the script </p>
  
  <pre><code>/usr/local/bin/node /home/olmo/project/processDrivesMultiUser.js
  </code></pre>
  
  <p>it will run ok wherever I am on the path, but if I run a cronjob like this:</p>
  
  <pre><code>3,18,33,48, * * * * /usr/local/bin/node /home/olmo/project/processDrivesMultiUser.js
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>Date: Wed, 10 Sep 2014 16:26:01 -0600
  From: Cron Daemon &lt;root@db.local&gt;
  To: olmo@db.local
  Subject: Cron &lt;olmo@db&gt; /usr/local/bin/node /home/olmo/project/processDrivesMultiUser.js
  
  
  module.js:340
      throw err;
            ^
  Error: Cannot find module 'underscore'
      at Function.Module._resolveFilename (module.js:338:15)
      at Function.Module._load (module.js:280:25)
      at Module.require (module.js:364:17)
      at require (module.js:380:17)
      at Object.&lt;anonymous&gt; (/home/olmo/sandbox/api_ievwebapp/parseAdminScripts/processDrivesMultiUser.js:20:9)
      at Module._compile (module.js:456:26)
      at Object.Module._extensions..js (module.js:474:10)
      at Module.load (module.js:356:32)
      at Function.Module._load (module.js:312:12)
      at Function.Module.runMain (module.js:497:10)
  </code></pre>
  
  <p>somehow it can't find the module <code>underscore</code> if it runs via cron. I made the cron entry for the same username I'm using to run the script manually. </p>
  
  <p>any ideas?  </p>