|
0
|
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') |