From ceb7903f78a2c0d4f9da70e8b57d7b6966dbdf83 Mon Sep 17 00:00:00 2001 From: Jason Learst Date: Thu, 15 Oct 2015 00:32:23 -0400 Subject: [PATCH] fix to call once a week instead of daily --- automated install/basic-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 1f704abc..a0c9e588 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -82,9 +82,9 @@ echo "Autoupdate script installation..." crontab -l > /tmp/mycron if grep -qi '\' /tmp/mycron then - echo "Autoupdate already configured" + echo "Autoupdate already configured." else - echo "0 * * * * sudo /usr/local/bin/gravity.sh" >> /tmp/mycron + echo "@weekly sudo /usr/local/bin/gravity.sh" >> /tmp/mycron crontab /tmp/mycron fi rm /tmp/mycron