fix overwriting previous cron
parent
2f798a2e6a
commit
0241ac7d92
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue