From: Guillaume Pellerin Date: Thu, 5 Jan 2023 07:21:30 +0000 (+0100) Subject: update cron rules X-Git-Tag: 1.2~6 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=d9c6c18fa27fa85fc9ded4defa15ee81800aacb5;p=telecaster-server.git update cron rules --- diff --git a/src/etc/cron.d/telecaster b/src/etc/cron.d/telecaster index e321402..300e4ec 100644 --- a/src/etc/cron.d/telecaster +++ b/src/etc/cron.d/telecaster @@ -1,16 +1,11 @@ -# Cleanup -0 */3 * * * telecaster python /home/telecaster/apps/tools/cleanup/rm_date_days.py 10 /home/telecaster/trash/ >> /var/log/telecaster/cleanup.log -30 */3 * * * telecaster python /home/telecaster/apps/tools/cleanup/rm_date_days.py 10 /home/telecaster/archives/ >> /var/log/telecaster/cleanup.log - -# Local import -0,30 * * * * telecaster /usr/local/lib/telecaster/instance/manage.py teleforma-import-conferences Pre-Barreau /var/log/telecaster/import.log - -# Stop -0 0 * * * root /etc/init.d/telecaster stop - -# Start +30 0 * * * root /etc/init.d/telecaster stop 0 8 * * * root /etc/init.d/telecaster start -# Sync -15 12,15 * * * telecaster /usr/local/lib/telecaster/instance/manage.py telecaster-rsync-archives -0 21 * * * telecaster /usr/local/lib/telecaster/instance/manage.py telecaster-rsync-archives +30 7 * * * root python /srv/telecaster/scripts/cleanup/rm_date_days.py 5 /home/telecaster/trash/ >> /var/log/telecaster/cleanup.log +45 7 * * * root python /srv/telecaster/scripts/cleanup/rm_date_days.py 6 /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 +10 22 * * * telecaster /srv/telecaster/instance/env/bin/python /srv/telecaster/instance/manage.py teleforma-pull-professors +0 1 * * * telecaster /srv/telecaster/instance/env/bin/python /srv/telecaster/instance/manage.py teleforma-pull-courses Pre-Barreau +10 1 * * * telecaster /srv/telecaster/instance/env/bin/python /srv/telecaster/instance/manage.py teleforma-export-stream-m-slugs source2parisson /etc/stream-m/server.conf