diff --git a/hack/jenkins/preload_generation.sh b/hack/jenkins/preload_generation.sh index b019d6f6e1..59b9fe7526 100644 --- a/hack/jenkins/preload_generation.sh +++ b/hack/jenkins/preload_generation.sh @@ -20,6 +20,9 @@ set -eux -o pipefail +mkdir -p cron && gsutil -qm rsync "gs://minikube-builds/master/cron" cron || echo "FAILED TO GET CRON FILES" +sudo install cron/cleanup_and_reboot_Linux.sh /etc/cron.hourly/cleanup_and_reboot || echo "FAILED TO INSTALL CLEANUP" + # Make sure the right golang version is installed based on Makefile ./hack/jenkins/installers/check_install_golang.sh /usr/local