dataminer: add variables that permit to change the algorithms installer run frequency. Default: 1 hour.
dataminer proto: run the algorithm installer every minute.
This commit is contained in:
parent
22632aa634
commit
11f5be1a83
|
@ -26,6 +26,8 @@ dataminer_algorithms_base_url: 'http://maven.research-infrastructures.eu/nexus/c
|
||||||
# Algorithms updater
|
# Algorithms updater
|
||||||
dataminer_wps_algorithms_svn: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-analysis/DataMinerConfiguration/algorithms/
|
dataminer_wps_algorithms_svn: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-analysis/DataMinerConfiguration/algorithms/
|
||||||
dataminer_wps_algorithms_dest: '{{ smartgears_user_home }}/wps_algorithms/algorithms'
|
dataminer_wps_algorithms_dest: '{{ smartgears_user_home }}/wps_algorithms/algorithms'
|
||||||
|
dataminer_algorithms_updater_minute_frequency: "0"
|
||||||
|
dataminer_algorithms_updater_hour_frequency: "*"
|
||||||
|
|
||||||
dataminer_data_file_from_thredds: 'http://thredds.d4science.org/thredds/fileServer/public/netcdf/gebco_08_OCEANS_CLIMATOLOGY_METEOROLOGY_ATMOSPHERE_.nc'
|
dataminer_data_file_from_thredds: 'http://thredds.d4science.org/thredds/fileServer/public/netcdf/gebco_08_OCEANS_CLIMATOLOGY_METEOROLOGY_ATMOSPHERE_.nc'
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
tags: [ 'tomcat', 'dataminer', 'wps', 'dataminer_algorithms', 'dataminer_algorithms_script' ]
|
tags: [ 'tomcat', 'dataminer', 'wps', 'dataminer_algorithms', 'dataminer_algorithms_script' ]
|
||||||
|
|
||||||
- name: Cron job that updates the algorithms repository and adds the missing algorithms configurations
|
- name: Cron job that updates the algorithms repository and adds the missing algorithms configurations
|
||||||
cron: name="SVN update the algorithms repository" minute="*/1" job="/usr/local/bin/algorithms-updater > {{ smartgears_user_home }}/wps_algorithms_install_log/algorithms_updater_cron.log 2>&1" user='{{ smartgears_user }}' state=present
|
cron: name="SVN update the algorithms repository" minute="{{ dataminer_algorithms_updater_minute_frequency }}" hour="{{ dataminer_algorithms_updater_hour_frequency }}" job="/usr/local/bin/algorithms-updater > {{ smartgears_user_home }}/wps_algorithms_install_log/algorithms_updater_cron.log 2>&1" user='{{ smartgears_user }}' state=present
|
||||||
tags: [ 'tomcat', 'dataminer', 'wps', 'dataminer_algorithms', 'dataminer_algorithms_cron' ]
|
tags: [ 'tomcat', 'dataminer', 'wps', 'dataminer_algorithms', 'dataminer_algorithms_cron' ]
|
||||||
|
|
||||||
- name: Create a directory where to install the gebco_08.nc data file
|
- name: Create a directory where to install the gebco_08.nc data file
|
||||||
|
|
Loading…
Reference in New Issue