Browse Source

added attachments cleanup task to example cron

Rafał Pitoń 8 years ago
parent
commit
7a045b4e1f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      misago/project_template/cron.txt

+ 1 - 0
misago/project_template/cron.txt

@@ -3,6 +3,7 @@
 # valid python version or paths to manage.py
 # valid python version or paths to manage.py
 
 
 15 0 * * * python manage.py buildactivepostersranking
 15 0 * * * python manage.py buildactivepostersranking
+15 0 * * * python manage.py clearattachments
 15 0 * * * python manage.py clearsessions
 15 0 * * * python manage.py clearsessions
 15 0 * * * python manage.py invalidatebans
 15 0 * * * python manage.py invalidatebans
 15 0 * * * python manage.py prunecategories
 15 0 * * * python manage.py prunecategories