I'm having trouble getting crontab to execute a site backup, using django-archive.
0 5 * * * python ~/SBGBook/gbsite/manage.py archive
Traceback (most recent call last):
File "/home/jgates/SBGBook/gbsite/manage.py", line 17, in <module>
"Couldn't import Django. Are you sure it's installed and "
ImportError: Couldn't import Django. Are you sure it's installed and available $
python manage.py archive
Try to use the python interpreter from your virtualenv :
0 5 * * * /path/to/virtualenv/bin/python ~/SBGBook/gbsite/manage.py archive