Change default run times for harvest run and clean-log
This commit is contained in:
parent
a9d0fff9cb
commit
f8425cb22d
|
@ -90,7 +90,7 @@ services:
|
||||||
container_name: ckan-harvest-run
|
container_name: ckan-harvest-run
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
command: /bin/sh -c "while true; do sleep 90; ckan -c /srv/app/production.ini harvester run; done"
|
command: /bin/sh -c "while true; do sleep 900; ckan -c /srv/app/production.ini harvester run; done"
|
||||||
networks:
|
networks:
|
||||||
- frontend
|
- frontend
|
||||||
- backend
|
- backend
|
||||||
|
@ -115,7 +115,7 @@ services:
|
||||||
container_name: ckan-harvest-cleanlog
|
container_name: ckan-harvest-cleanlog
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
command: /bin/sh -c "while true; do sleep 150; ckan -c /srv/app/production.ini harvester clean_harvest_log; done"
|
command: /bin/sh -c "while true; do sleep 86400; ckan -c /srv/app/production.ini harvester clean_harvest_log; done"
|
||||||
networks:
|
networks:
|
||||||
- frontend
|
- frontend
|
||||||
- backend
|
- backend
|
||||||
|
|
Loading…
Reference in New Issue