title: A crontab script accessing Django models fails with ImportError
body: <p>I'm trying to use a crontab to execute a python script periodically. I followed the solution given <a href="https://stackoverflow.com/questions/3287038/cron-and-virtualenv">here</a> to execute the command using virtualenv. Following is my crontab</p>
  
  <pre><code>SHELL=/bin/bash
  HOME=/
  MAILTO="myid@example.com"
  * * * * * cd /home/jaskaran/edmhunters &amp;&amp; /home/jaskaran/edmhunters/env/bin/python /home/jaskaran/edmhunters/scripts/db/songlist.py
  </code></pre>
  
  <p>I keep getting this ImportError</p>
  
  <pre><code>Traceback (most recent call last):
   File "/home/jaskaran/edmhunters/scripts/db/songlist.py", line 4, in &lt;module&gt;
     from hunt.models import DJ, Song
  ImportError: No module named hunt.models
  </code></pre>
  
  <p>The script works fine when run from the shell. What am I missing?</p>