From 7fbf485c1f8be584813144238cdc7c9ca2ffbaf5 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 29 Oct 2025 12:26:47 +0100 Subject: [PATCH] use systemctl to start / stop --- etc/cron.d/telecaster | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/etc/cron.d/telecaster b/etc/cron.d/telecaster index 5250a33..0b901af 100644 --- a/etc/cron.d/telecaster +++ b/etc/cron.d/telecaster @@ -1,8 +1,10 @@ -59 23 * * * root /etc/init.d/telecaster stop -30 7 * * * root /etc/init.d/telecaster start +59 23 * * * root systemctl stop telecaster.service +30 7 * * * root systemctl start telecaster.service; sleep 10; systemctl restart telecaster.service +#30 13 * * * root systemctl start telecaster.service; sleep 10; systemctl restart telecaster.service -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 7 * * * root python /srv/telecaster/telecaster-server/bin/cleaning/rm_date_days.py 5 /home/telecaster/monitor/ >> /var/log/telecaster/cleanup.log +15 7 * * * root python /srv/telecaster/telecaster-server/bin/cleaning/rm_date_days.py 5 /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 -- 2.39.5