From: Bill Erickson Date: Fri, 7 Aug 2015 18:50:32 +0000 (-0400) Subject: JBAS-825 sitemap generator CRONTAB entry X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=fb9b1b8f3fe768a1d3053ad3227f67f1a4b567e7;p=working%2FEvergreen.git JBAS-825 sitemap generator CRONTAB entry Signed-off-by: Bill Erickson --- diff --git a/KCLS/utility-scripts/CRONTAB b/KCLS/utility-scripts/CRONTAB index 132ad0d183..130160b77b 100644 --- a/KCLS/utility-scripts/CRONTAB +++ b/KCLS/utility-scripts/CRONTAB @@ -100,6 +100,9 @@ PGHOST = localhost # change for cluster install # compress collections API XML report files >=30 days old # 45 0 * * * /usr/bin/find /openils/var/web/standalone/collections/ -type f -mtime +30 -not -name "*bz2" -exec /bin/bzip2 {} \; +# web sitemap generator NOTE: change lib-hostname accordingly +# 30 23 * * 0 . ~/.bashrc && cd /openils/var/web && /openils/bin/sitemap_generator --lib-hostname evgtesting.kcls.org --lib-shortname KCLS --prefix standalone/sitemaps/ + # Anonymize a range of historical circs each night, with a maximum run # time of 120 minutes. We split them up, because each range takes time # to run (~45 minutes). The first range starts at 2004-08-12, which is the