| author | ymh <ymh.work@gmail.com> |
| Tue, 25 May 2010 19:06:11 +0200 | |
| changeset 31 | a727d83c8f88 |
| parent 3 | 526ebd3988b0 |
| permissions | -rw-r--r-- |
""" Daily cleanup job. Can be run as a cronjob to clean out old data from the database (only expired sessions at the moment). """ from django_extensions.management.jobs import DailyJob class Job(DailyJob): help = "Django Daily Cleanup Job" def execute(self): from django.core import management management.call_command("cleanup")