From a49babfc415a4120a181213f8a9208d751cfed69 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 2 May 2025 04:08:19 +0200 Subject: [PATCH] better cron --- etc/cron.d/telecaster | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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 + -- 2.39.5