Commit 3f186358 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

add cron jobs and bin dir

parent dcfbad32
- name: "dspace cleanup cron job"
cron:
name: "delete removed items from assetstore weekly"
weekday: "0"
minute: "45"
hour: "22"
job: "chronic {{ bin_dir }}/dspace cleanup"
user: "tomcat"
- name: "dspace checker cron job"
cron:
name: "Checksum test of files"
weekday: "0"
minute: "45"
hour: "22"
job: "chronic {{ bin_dir }}/dspace checker -l -p"
user: "tomcat"
- name: "update sitemaps cron job"
cron:
name: "Update sitemaps"
minute: "0"
hour: "8,16"
job: "chronic {{ bin_dir }}/dspace checker -l -p"
user: "tomcat"
- name: "OAI import cron job"
cron:
name: "OAI Import"
minute: "45"
hour: "20"
job: "chronic {{ bin_dir }}/dspace oai import -o"
user: "tomcat"
- name: "Index discovery optimize cron job"
cron:
name: "Index discovery with optimize"
minute: "45"
hour: "12"
job: "chronic {{ bin_dir }}/dspace index-discovery -o"
user: "tomcat"
- name: "Index discovery cron job"
cron:
name: "Index discovery (delete and update)"
minute: "45"
hour: "16"
job: "chronic {{ bin_dir }}/dspace index-discovery"
user: "tomcat"
- name: "stats util cron job"
cron:
name: "Stats util"
minute: "45"
hour: "16"
job: "chronic {{ bin_dir }}/dspace stats-util -i"
user: "tomcat"
- name: "Stats util optimize cron job"
cron:
name: "Stats util optimize"
minute: "45"
hour: "16"
weekday: "2"
job: "chronic {{ bin_dir }}/dspace stats-util -o"
user: "tomcat"
- name: "Healtcheck cron job"
cron:
name: "Healthceck"
minute: "45"
hour: "16"
weekday: "3"
job: "chronic {{ bin_dir }}/dspace healthcheck -e hemed.ruwehy@uib.no""
user: "tomcat"
......@@ -7,6 +7,7 @@
script_dir: "{{ clarin_dspace_script_dir | default(clarin_home + '/source/utilities/project_helpers/scripts/')}}"
src_dir: "{{ clarin_dspace_src_dir | default(clarin_home + '/source') }}"
build_dir: "{{ clarin_dspace_build_dir | default(clarin_home + '/build') }}"
bin_dir: "{{ clarin_dspace_build_dir | default(clarin_home + '/build/bin') }}"
workspace_dir: "{{ clarin_dspace_workspace_dir | default(clarin_home + '/workspace') }}"
log_dir: "{{ clarin_dspace_log_dir | default(clarin_home + '/log')}}"
......
......@@ -8,3 +8,6 @@
- import_tasks: "configure.yml"
- import_tasks: "build.yml"
- import_tasks: "cron.yml"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment