Comments on: Using Django with cron for batch jobs http://scottbarnham.com/blog/2007/04/26/using-django-with-cron-for-batch-jobs/ Code and comments on web development, Django, Python and things (un)related. Wed, 03 Apr 2013 13:15:20 +0000 hourly 1 http://wordpress.org/?v=4.3 By: admin http://scottbarnham.com/blog/2007/04/26/using-django-with-cron-for-batch-jobs/comment-page-1/#comment-3 Tue, 08 May 2007 08:19:45 +0000 http://scottbarnham.com/blog/index.php/2007/04/26/using-django-with-cron-for-batch-jobs/#comment-3 Hi ak.

I suppose it depends what your script is doing whether it should go in the project or application directory. If it only uses models for one application, it would be more logical to put it in the application directory.

In my case, the script uses models from different applications within the project, so I put it in the project directory (next to settings.py).

]]>
By: ak http://scottbarnham.com/blog/2007/04/26/using-django-with-cron-for-batch-jobs/comment-page-1/#comment-2 Tue, 08 May 2007 06:32:44 +0000 http://scottbarnham.com/blog/index.php/2007/04/26/using-django-with-cron-for-batch-jobs/#comment-2 I made a blog post recently about something very similar to your post. The difference is that I put my code in the application directory instead of the project directory (next to the models.py). I think it is more logical that way.

]]>