web/lib/django/bin/daily_cleanup.py
changeset 0 0d40e90630ef
equal deleted inserted replaced
-1:000000000000 0:0d40e90630ef
       
     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')