monaco daily

This commit is contained in:
Zsolt Ero
2024-09-12 11:33:35 +02:00
parent 1a5fa5b208
commit 33cb06c7a1
2 changed files with 4 additions and 2 deletions

View File

@@ -163,6 +163,8 @@ See [dev setup docs](docs/dev_setup.md).
Using a "done" file in the R2 buckets to mark the upload as finished. All scripts are checking for this file now. Using a "done" file in the R2 buckets to mark the upload as finished. All scripts are checking for this file now.
Monaco is generated daily, to avoid too frequent nginx reloads, which might be bad for the in-memory cache.
##### v0.4 ##### v0.4
Auto-update works! Auto-update works!

View File

@@ -2,8 +2,8 @@
CMD="sudo /data/ofm/venv/bin/python -u /data/ofm/tile_gen/bin/tile_gen.py" CMD="sudo /data/ofm/venv/bin/python -u /data/ofm/tile_gen/bin/tile_gen.py"
LOG_DIR=/data/ofm/tile_gen/logs LOG_DIR=/data/ofm/tile_gen/logs
# every hour, make a monaco run # every day at 2:10, make a monaco run
10 * * * * 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
# every minute, set monaco to latest # every minute, set monaco to latest
* * * * * ofm $CMD set-version monaco >> $LOG_DIR/monaco-set-version.log 2>&1 * * * * * ofm $CMD set-version monaco >> $LOG_DIR/monaco-set-version.log 2>&1