mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
add noninteractive option
This commit is contained in:
@@ -20,7 +20,7 @@ def auto_mount():
|
||||
if not config.runs_dir.exists():
|
||||
sys.exit(' download-btrfs needs to be run first')
|
||||
|
||||
clean_up_mounts(config.mnt_dir)
|
||||
# clean_up_mounts(config.mnt_dir) # disabling, as it can be in use before the nginx sync works
|
||||
create_fstab()
|
||||
|
||||
print(' running mount -a')
|
||||
|
||||
@@ -3,7 +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
|
||||
|
||||
# every minute, set monaco to latest
|
||||
* * * * * ofm $CMD set-version monaco >> $LOG_DIR/monaco-set-version.log 2>&1
|
||||
|
||||
Reference in New Issue
Block a user