django custom command and cron

Posted by Hellnar on Stack Overflow See other posts from Stack Overflow or by Hellnar
Published on 2009-10-21T14:22:31Z Indexed on 2010/04/11 0:33 UTC
Read the original article Hit count: 723

Filed under:
|
|
|

Hello I want my customly made django command to be executed every minute, however it seems like python /path/to/project/myapp/manage.py mycommand doesn't seem to work while at the directory python manage.py mycommand works perfectly.

How can I achieve this ? I use /etc/crontab with:

****** root python /path/to/project/myapp/manage.py mycommand

© Stack Overflow or respective owner

Related posts about django

Related posts about django-admin