From ae4c169de579384d0647dad16be5489c166a2811 Mon Sep 17 00:00:00 2001
From: John-Paul Robinson <jpr@uab.edu>
Date: Mon, 28 Feb 2022 11:06:41 -0600
Subject: [PATCH] Add cronwrapper to support scheduled runs of policy via cron

---
 cronwrapper | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100755 cronwrapper

diff --git a/cronwrapper b/cronwrapper
new file mode 100755
index 0000000..eee0942
--- /dev/null
+++ b/cronwrapper
@@ -0,0 +1,7 @@
+#!/bin/bash -l
+
+# run task via login shell to ensure correct env
+
+# change to dir or script and run arguments
+cd `dirname $0`
+./$@
-- 
GitLab