aboutsummaryrefslogtreecommitdiff
path: root/auxiliary
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-07-09 19:33:30 -0400
committerB. Stack <bgstack15@gmail.com>2024-07-09 19:33:30 -0400
commit0c82f4f4bb78c995b6175a01967b2dc0a1ecb3cb (patch)
treee80b509772fc8ce24bda06314083f7d46052bd1b /auxiliary
parentupdate readme (diff)
downloadlibrary-info-0c82f4f4bb78c995b6175a01967b2dc0a1ecb3cb.tar.gz
library-info-0c82f4f4bb78c995b6175a01967b2dc0a1ecb3cb.tar.bz2
library-info-0c82f4f4bb78c995b6175a01967b2dc0a1ecb3cb.zip
add el8+py3.6 support
Diffstat (limited to 'auxiliary')
-rw-r--r--auxiliary/86_library_cron2
-rwxr-xr-xauxiliary/library.sh5
2 files changed, 7 insertions, 0 deletions
diff --git a/auxiliary/86_library_cron b/auxiliary/86_library_cron
new file mode 100644
index 0000000..1806957
--- /dev/null
+++ b/auxiliary/86_library_cron
@@ -0,0 +1,2 @@
+# File: /etc/cron.d/86_library_cron
+03 7 * * * root /mnt/public/Support/Programs/library_info/auxiliary/library.sh 1>/var/log/cron_library 2>&1
diff --git a/auxiliary/library.sh b/auxiliary/library.sh
new file mode 100755
index 0000000..167edab
--- /dev/null
+++ b/auxiliary/library.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env sh
+# Startdate: 2024-07-09-3 15:45
+# Author: bgstack15
+# Purpose: oneliner for cron job
+python3.6 /mnt/public/Support/Programs/library_info/library_info_cli.py --output html --full > /mnt/public/www/library/index.html
bgstack15