Statistics
| Branch: | Revision:

root / env / lib / python2.7 / site-packages / django / bin / daily_cleanup.py @ 1a305335

History | View | Annotate | Download (257 Bytes)

1
#!/usr/bin/env python
2

    
3
"""
4
Daily cleanup job.
5

6
Can be run as a cronjob to clean out old data from the database (only expired
7
sessions at the moment).
8
"""
9

    
10
from django.core import management
11

    
12
if __name__ == "__main__":
13
    management.call_command('cleanup')