mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
scripts -> modules
This commit is contained in:
4
modules/http_host/cron.d/ofm_http_host
Normal file
4
modules/http_host/cron.d/ofm_http_host
Normal file
@@ -0,0 +1,4 @@
|
||||
# every minute sync, locking so that only one process can run at a time
|
||||
* * * * * ofm /usr/bin/flock -n /tmp/hostmanager.lockfile -c 'sudo /data/ofm/venv/bin/python -u /data/ofm/http_host/bin/host_manager.py sync >> /data/ofm/http_host/logs/host_manager_sync.log 2>&1'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user