aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAli <homeisfar@users.noreply.github.com>2019-03-25 15:58:26 -0400
committerRahiel Kasim <rahielkasim@gmail.com>2019-03-25 20:58:26 +0100
commitebac47044603fc797b92540d7a3409c79974103b (patch)
treeb24c6a2720671a5f86a244d89497911095aeb40d
parent50338037bdd614735fc0905c6bf1ab36160b4172 (diff)
Tell the cron task the HOME dir is /tmp (#6)
-rw-r--r--giternity.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/giternity.py b/giternity.py
index 691aac7..60c8946 100644
--- a/giternity.py
+++ b/giternity.py
@@ -96,6 +96,7 @@ def configure(git_data_path: str, checkout_path: str = None):
cron = """SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+HOME=/tmp
# m h dom mon dow user command
0 * * * * giternity giternity\n"""