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!
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...
Sooner or later you'll run across a regular expression. With their cryptic syntax, confusing documentation and massive learning curve, most developers settle for copying and pasting them from StackOverflow and hoping they work. But what if you could decode regular expressions and harness their power? In...
Waveform images are an awesome addition to boring audio widgets. They can be functional as well as aesthetically pleasing, allowing users to navigate audio visually. I recently found wavesurfer.js, an amazing waveform image utility that uses to Web Audio API to create super customizable...
I'm a huge fan of WordPress' method of individual article deletion. You click the delete link, the menu item animates red, and the item disappears. Here's how to achieve that functionality with Dojo JavaScript.
The PHP - Content & Header
The following snippet goes at 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!