]> git.parisson.com Git - telecaster-server.git/commitdiff
keep 4 days only
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Mon, 8 Apr 2024 13:10:26 +0000 (15:10 +0200)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Mon, 8 Apr 2024 13:10:26 +0000 (15:10 +0200)
etc/cron.d/telecaster

index e2b0e35f4856cf3f3463475d43b459dd0a312e86..1de4e2d8cf2c086705531e3f402197e3cecef58f 100644 (file)
@@ -1,8 +1,8 @@
 0 0 * * * root /etc/init.d/telecaster stop
 30 7 * * * root /etc/init.d/telecaster start
 
-0 7 * * * root python /srv/telecaster/telecaster-server/bin/cleaning/rm_date_days.py 7 /home/telecaster/trash/ >> /var/log/telecaster/cleanup.log
-15 7 * * * root python /srv/telecaster/telecaster-server/bin/cleaning/rm_date_days.py 7  /home/telecaster/archives/ >> /var/log/telecaster/cleanup.log
+0 7 * * * root python /srv/telecaster/telecaster-server/bin/cleaning/rm_date_days.py 4 /home/telecaster/trash/ >> /var/log/telecaster/cleanup.log
+15 7 * * * root python /srv/telecaster/telecaster-server/bin/cleaning/rm_date_days.py 4  /home/telecaster/archives/ >> /var/log/telecaster/cleanup.log
 
 0 */3 * * * telecaster /srv/telecaster/instance/env/bin/python /srv/telecaster/instance/manage.py teleforma-import-conferences Pre-Barreau /var/log/telecaster/import.log
 29 * * * * root chmod -R u+rwX,g+rwX,o-w /home/telecaster/archives