aboutsummaryrefslogtreecommitdiff
path: root/auxiliary
diff options
context:
space:
mode:
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