Run Individual Cron Routines within Django
When you're looking to run a single cron routine within Django, hit the terminal and run this:
# Running the "build_sitemaps" routine
./manage.py cron build_sitemaps
To see a list of available cron routines, run:
./manage.py cron
Running individual cron routines is probably an obvious flow for Django experts but hopefully this is easier to find than searching through loads of documentation!
My trip to Mozilla Summit 2013 was incredible. I've spent so much time focusing on my project that I had lost sight of all of the great work Mozillians were putting out. MozSummit provided the perfect reminder of how brilliant my colleagues are and how much...
Before we get started, it's worth me spending a brief moment introducing myself to you. My name is Mark (or @integralist if Twitter happens to be your communication tool of choice) and I currently work for BBC News in London England as a principal engineer/tech...
Backgrounds have become an integral part of creating a web 2.0-esque website since gradients have become all the rage. If you think gradient backgrounds are too cliche, maybe a fixed position background would work for you? It does provide a neat inherent effect by...
The first thing that hits you when you visit Pinterest is "Whoa, the columns are the same width and the photos are cut to fit just the way they should." Basic web users probably think nothing of it but as a developer, I can appreciate the...
Hmmm, I’m fairly new to Django but I don’t see any management commands related to cron in Django 1.4 that I’m using.
Were you maybe using some Django app such as Django Cronjobs (https://github.com/jsocol/django-cronjobs), for example, to get that management command?
Keep up the good work with the posts!