From a346ef347ed43b2541d9dc6f5fb3d6643f147c8b Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Thu, 12 Sep 2024 14:06:16 +0200 Subject: [PATCH] back to daily monaco runs --- modules/http_host/http_host.py | 2 +- modules/tile_gen/cron.d/ofm_tile_gen | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/http_host/http_host.py b/modules/http_host/http_host.py index e25da54..0433e0e 100755 --- a/modules/http_host/http_host.py +++ b/modules/http_host/http_host.py @@ -100,7 +100,7 @@ def sync(force): On a new server this also takes care of everything, no need to run anything manually. """ - print(f'---\n{now}\nStarting full_sync') + print(f'---\n{now}\nStarting sync') full_sync(force) diff --git a/modules/tile_gen/cron.d/ofm_tile_gen b/modules/tile_gen/cron.d/ofm_tile_gen index d7a34ae..3d9b0cf 100644 --- a/modules/tile_gen/cron.d/ofm_tile_gen +++ b/modules/tile_gen/cron.d/ofm_tile_gen @@ -3,10 +3,10 @@ CMD="sudo /data/ofm/venv/bin/python -u /data/ofm/tile_gen/bin/tile_gen.py" LOG_DIR=/data/ofm/tile_gen/logs # every day at 2:10, make a monaco run -#10 2 * * * ofm $CMD make-tiles monaco --upload >> $LOG_DIR/monaco-make-tiles.log 2>&1 +10 2 * * * ofm $CMD make-tiles monaco --upload >> $LOG_DIR/monaco-make-tiles.log 2>&1 # debug every 15 minutes -*/15 * * * * ofm $CMD make-tiles monaco --upload >> $LOG_DIR/monaco-make-tiles.log 2>&1 +#*/15 * * * * ofm $CMD make-tiles monaco --upload >> $LOG_DIR/monaco-make-tiles.log 2>&1 # every minute, set monaco to latest * * * * * ofm $CMD set-version monaco >> $LOG_DIR/monaco-set-version.log 2>&1