summaryrefslogtreecommitdiff
path: root/_cron
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-10-17 13:13:50 +0200
committeremkael <emkael@tlen.pl>2020-10-17 13:13:50 +0200
commit443b328c785734c4ab7736a853b31fcf0c766f6f (patch)
treea6ab5b6ba02ccf5787c7f8b9abcbb37b077c0345 /_cron
parente350f8583baafb8fbf89cf2843d84ca5d95cc736 (diff)
rsync/git push configuration for non-interactive user
Diffstat (limited to '_cron')
-rw-r--r--_cron/autocommit4
1 files changed, 3 insertions, 1 deletions
diff --git a/_cron/autocommit b/_cron/autocommit
index 045403f..d7c866a 100644
--- a/_cron/autocommit
+++ b/_cron/autocommit
@@ -1 +1,3 @@
-# */30 * * * * cd $SITEPATH && make autocommit
+SHELL=/bin/bash
+*/3 * * * * cd $SITEPATH && source .envrc && make autocommit >> $SITEPATH/_log/autocommit.log
+SHELL=/bin/sh