aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-05 08:21:47 -0300
committerEuAndreh <eu@euandre.org>2022-11-05 08:21:47 -0300
commit607570f739d44676d10d15ed4d2f7aabe7e6bbcc (patch)
treea831bd435059bda2689fa0940a7db1cd3115933b /etc
parentetc/sh/rc: Include $DICPATH in `add_prefix()` (diff)
downloaddotfiles-607570f739d44676d10d15ed4d2f7aabe7e6bbcc.tar.gz
dotfiles-607570f739d44676d10d15ed4d2f7aabe7e6bbcc.tar.xz
etc/sh/cronjob.sh: Load ~/.profile over ad-hoc ~/.usr/etc/sh/rc file
Diffstat (limited to 'etc')
-rwxr-xr-xetc/sh/cronjob.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/sh/cronjob.sh b/etc/sh/cronjob.sh
index 05022e0..0569b44 100755
--- a/etc/sh/cronjob.sh
+++ b/etc/sh/cronjob.sh
@@ -65,7 +65,10 @@ done
shift $((OPTIND - 1))
+set +e
# shellcheck disable=1090
-. ~/.usr/etc/sh/rc
+. ~/.profile
+set -e
+
CMD="$*"
with-email -s "$CMD" -- "$@" 1>>"$XDG_LOG_HOME"/euandreh/mcron.log 2>&1