From 0241ac7d928112c6cf5b492d68caed5c23148249 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Mon, 23 May 2022 10:57:13 -0700 Subject: [PATCH] fix overwriting previous cron --- hack/jenkins/installers/check_install_osx_crons.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hack/jenkins/installers/check_install_osx_crons.sh b/hack/jenkins/installers/check_install_osx_crons.sh index 1378bf63d1..f80a0ba336 100755 --- a/hack/jenkins/installers/check_install_osx_crons.sh +++ b/hack/jenkins/installers/check_install_osx_crons.sh @@ -18,7 +18,6 @@ set -e mkdir -p cron && gsutil -qm rsync "gs://minikube-builds/${MINIKUBE_LOCATION}/cron" cron || echo "FAILED TO GET CRON FILES" install cron/cleanup_and_reboot_Darwin.sh $HOME/cleanup_and_reboot.sh || echo "FAILED TO INSTALL CLEANUP AND REBOOT" -echo "*/30 * * * * $HOME/cleanup_and_reboot.sh" | crontab install cron/cleanup_go_modules.sh $HOME/cleanup_go_modules.sh || echo "FAILED TO INSTALL GO MODULES CLEANUP" -echo "0 0 1 * * $HOME/cleanup_go_modules.sh" | crontab +echo "echo "*/30 * * * * $HOME/cleanup_and_reboot.sh\n0 0 1 * * $HOME/cleanup_go_modules.sh" | crontab crontab -l