diff --git a/Makefile b/Makefile index f6d4cd8..c7062d7 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,9 @@ burrow-install: cron-pubnix-install: cat ~/dotfiles/cron/pubnix-cron >> ~/dotfiles/my-cron +cron-auto-update-install: + cat ~/dotfiles/cron/auto-update-cron >> ~/dotfiles/my-cron + cron-install: if [ -e ~/dotfiles/my-cron ] ; then crontab ~/dotfiles/my-cron ; fi diff --git a/cron/auto-update-cron b/cron/auto-update-cron new file mode 100644 index 0000000..bd02d09 --- /dev/null +++ b/cron/auto-update-cron @@ -0,0 +1,2 @@ +0,30 * * * * cd ~/public_html && git pull >/dev/null 2>&1 +0 * * * * cd ~/dotfiles && git pull | sed '/Already up to date/d'