mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
monaco daily
This commit is contained in:
@@ -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!
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user