From 3d19ce5671e45b8e06a91cb09065d81e22f9d6fd Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 20 Feb 2018 16:16:15 +0100 Subject: Initial import --- adei/scripts/run-cron.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 adei/scripts/run-cron.sh (limited to 'adei/scripts/run-cron.sh') diff --git a/adei/scripts/run-cron.sh b/adei/scripts/run-cron.sh new file mode 100755 index 0000000..5f4b9e2 --- /dev/null +++ b/adei/scripts/run-cron.sh @@ -0,0 +1,7 @@ +#! /bin/bash + +printenv | grep -v affinity:container | sed -r 's/^(.*)=("?)(.*)\2$/export \1="\3"/g' > /adei/env + +/opt/scripts/adei-branch.sh + +cron -n -m '/usr/bin/procmail -d root' -- cgit v1.2.3