JBAS-825 sitemap generator CRONTAB entry
authorBill Erickson <berickxx@gmail.com>
Fri, 7 Aug 2015 18:50:32 +0000 (14:50 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/utility-scripts/CRONTAB

index 132ad0d..130160b 100644 (file)
@@ -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