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!
![Page Visibility API]()
One event that's always been lacking within the document is a signal for when the user is looking at a given tab, or another tab. When does the user switch off our site to look at something else? When do they come back?
![Designing for Simplicity]()
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...
![CSS Vertical Center with Flexbox]()
I'm 31 years old and feel like I've been in the web development game for centuries. We knew forever that layouts in CSS were a nightmare and we all considered flexbox our savior. Whether it turns out that way remains to be seen but flexbox does easily...
![5 More HTML5 APIs You Didn’t Know Existed]()
The HTML5 revolution has provided us some awesome JavaScript and HTML APIs. Some are APIs we knew we've needed for years, others are cutting edge mobile and desktop helpers. Regardless of API strength or purpose, anything to help us better do our job is a...
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!