autoupdate target
This commit is contained in:
parent
a7e4a51a3a
commit
c7f9b24202
3
Makefile
3
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
|
||||
|
||||
|
|
|
@ -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'
|
Loading…
Reference in New Issue