EDITED
Try something like this:
*/1 * * * * . /path-to-env/bin/activate && /home/user/Desktop/job/dp/manage.py statistics
This should be read as: activate env, and if it was successful, excute manage.py script. Since manage.py is supposed to have python shebang, and virtual env installs the correct python interpreter, this should work.
Obviously, cron usually works with /bin/sh , which does not know the source command. Thus, one option is to use a dot as a replacement for source . Another install /bin/bash in the cron file:
SHELL=/bin/bash */1 * * * * source /path-to-env/bin/activate && /home/user/Desktop/job/dp/manage.py statistics
Read more about this issue at: http://codeinthehole.com/writing/running-django-cronjobs-within-a-virtualenv/ This article does not mention that source can be replaced with . but I just tried and it worked for me. Thus, you have several options, the article even has others.;)
source share