]> git.parisson.com Git - telecaster-server.git/commitdiff
better cron
authorGuillaume Pellerin <pellerin@parisson.com>
Fri, 2 May 2025 02:08:19 +0000 (04:08 +0200)
committerGuillaume Pellerin <pellerin@parisson.com>
Fri, 2 May 2025 02:08:19 +0000 (04:08 +0200)
etc/cron.d/telecaster

index 45e535fb9cf3f3ac18d70a24796fcecc64d02d49..5250a33d0c9f17f8d409de2939ad9049781527c4 100644 (file)
@@ -1,11 +1,13 @@
-0 0 * * * root /etc/init.d/telecaster stop
-30 7 * * * root /etc/init.d/telecaster start
+59 23 * * * 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  /home/telecaster/archives/ >> /var/log/telecaster/cleanup.log
+0  7 * * * root python /srv/telecaster/telecaster-server/bin/cleaning/rm_date_days.py 8 /home/telecaster/monitor/ >> /var/log/telecaster/cleanup.log
+15 7 * * * root python /srv/telecaster/telecaster-server/bin/cleaning/rm_date_days.py 8 /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
+30  * * * * telecaster /srv/telecaster/instance/env/bin/python /srv/telecaster/instance/manage.py telecaster-rsync-archives
+0   1 * * * telecaster /srv/telecaster/instance/env/bin/python /srv/telecaster/instance/manage.py teleforma-pull-metadata Pre-Barreau
+55 23 * * * telecaster /srv/telecaster/instance/env/bin/python /srv/telecaster/instance/manage.py teleforma-stop-all-conferences
+
 29 * * * * root chmod -R u+rwX,g+rwX,o-w /home/telecaster/archives
-30 * * * * telecaster /srv/telecaster/instance/env/bin/python /srv/telecaster/instance/manage.py telecaster-rsync-archives
-0 1 * * * telecaster  /srv/telecaster/instance/env/bin/python /srv/telecaster/instance/manage.py teleforma-pull-metadata Pre-Barreau
-55 23 * * * telecaster  /srv/telecaster/instance/env/bin/python /srv/telecaster/instance/manage.py teleforma-stop-all-conferences
+