From: Guillaume Pellerin Date: Fri, 2 May 2025 02:08:19 +0000 (+0200) Subject: better cron X-Git-Tag: 4.1.0~29 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a49babfc415a4120a181213f8a9208d751cfed69;p=telecaster-server.git better cron --- diff --git a/etc/cron.d/telecaster b/etc/cron.d/telecaster index 45e535f..5250a33 100644 --- a/etc/cron.d/telecaster +++ b/etc/cron.d/telecaster @@ -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 7 /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 +