Commit 4eb75f4b authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

cron jobs not running, add full path to chronic (failed on /home/tomcat not found)

parent 45fdeada
......@@ -4,7 +4,7 @@
weekday: "0"
minute: "45"
hour: "22"
job: "chronic {{ bin_dir }}/dspace cleanup"
job: "/usr/bin/chronic {{ bin_dir }}/dspace cleanup"
user: "tomcat"
- name: "dspace checker cron job"
......@@ -13,7 +13,7 @@
weekday: "0"
minute: "45"
hour: "22"
job: "chronic {{ bin_dir }}/dspace checker -l -p"
job: "/usr/bin/chronic {{ bin_dir }}/dspace checker -l -p"
user: "tomcat"
- name: "update sitemaps cron job"
......@@ -21,7 +21,7 @@
name: "Update sitemaps"
minute: "0"
hour: "8,16"
job: "chronic {{ bin_dir }}/dspace generate-sitemaps"
job: "/usr/bin/chronic {{ bin_dir }}/dspace generate-sitemaps"
user: "tomcat"
- name: "OAI import cron job"
......@@ -29,7 +29,7 @@
name: "OAI Import"
minute: "45"
hour: "20"
job: "chronic {{ bin_dir }}/dspace oai import -o"
job: "/usr/bin/chronic {{ bin_dir }}/dspace oai import -o"
user: "tomcat"
- name: "Index discovery optimize cron job"
......@@ -37,7 +37,7 @@
name: "Index discovery with optimize"
minute: "45"
hour: "12"
job: "chronic {{ bin_dir }}/dspace index-discovery -o"
job: "/usr/bin/chronic {{ bin_dir }}/dspace index-discovery -o"
user: "tomcat"
- name: "Index discovery cron job"
......@@ -45,7 +45,7 @@
name: "Index discovery (delete and update)"
minute: "45"
hour: "16"
job: "chronic {{ bin_dir }}/dspace index-discovery"
job: "/usr/bin/chronic {{ bin_dir }}/dspace index-discovery"
user: "tomcat"
- name: "stats util cron job"
......@@ -53,7 +53,7 @@
name: "Stats util"
minute: "45"
hour: "16"
job: "chronic {{ bin_dir }}/dspace stats-util -i"
job: "/usr/bin/chronic {{ bin_dir }}/dspace stats-util -i"
user: "tomcat"
- name: "Stats util optimize cron job"
......@@ -62,7 +62,7 @@
minute: "45"
hour: "16"
weekday: "2"
job: "chronic {{ bin_dir }}/dspace stats-util -o"
job: "/usr/bin/chronic {{ bin_dir }}/dspace stats-util -o"
user: "tomcat"
- name: "Healtcheck cron job"
......@@ -71,6 +71,6 @@
minute: "45"
hour: "16"
weekday: "3"
job: "chronic {{ bin_dir }}/dspace healthcheck -e hemed.ruwehy@uib.no"
job: "/usr/bin/chronic {{ bin_dir }}/dspace healthcheck -e hemed.ruwehy@uib.no"
user: "tomcat"
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