feat: sync source-backed OSM facility entrances
This commit is contained in:
+7
-10
@@ -9,20 +9,17 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
APP_DIR=/home/hamzadoctor/app
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# 1. Bi-Monthly Geospatial Synchronization (Every 1st & 15th at 03:00 AM)
|
||||
# - Syncs OSM & Overture places for Jordan, Iraq, Egypt, Syria
|
||||
# - Generates and classifies Gates & Entrances (Hospitals, Malls, Unis, Hotels, Parks)
|
||||
# - Refreshes Materialized View (unified_search_index) concurrently
|
||||
# - Flushes Redis search cache
|
||||
# 1. OSM roads, regional places, and source-backed gates every 10 days at 03:00
|
||||
# - Uses MAP_DATA_SCOPE to select core, GCC, or GCC + Yemen coverage
|
||||
# - Reads actual entrance/gate nodes from the merged OSM PBF
|
||||
# ------------------------------------------------------------------------------
|
||||
0 3 1,15 * * /bin/bash /home/hamzadoctor/app/scripts/master_cron_sync.sh >> /home/hamzadoctor/app/logs/cron_places_sync.log 2>&1
|
||||
0 3 */10 * * /bin/bash /home/hamzadoctor/app/infrastructure/scripts/update-data.sh >> /home/hamzadoctor/app/infrastructure/logs/update-data.log 2>&1
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# 2. Road Network & Routing Update (Every 10 days at 01:00 AM)
|
||||
# - Downloads fresh OSM PBF for Jordan & Syria
|
||||
# - Rebuilds GraphHopper routing index & clears traffic cache
|
||||
# 2. Bi-monthly supplemental place enrichment (1st and 15th at 07:00 AM)
|
||||
# - Enriches Iraq and Egypt place tables; gate data is handled above
|
||||
# ------------------------------------------------------------------------------
|
||||
0 1 1,10,20 * * /bin/bash /home/hamzadoctor/app/scripts/update-data.sh >> /home/hamzadoctor/app/logs/cron_osm_update.log 2>&1
|
||||
0 7 1,15 * * /bin/bash /home/hamzadoctor/app/scripts/master_cron_sync.sh >> /home/hamzadoctor/app/logs/cron_places_sync.log 2>&1
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# 3. Daily Database Backup (Every Day at 02:00 AM)
|
||||
|
||||
Reference in New Issue
Block a user