aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-04-09 14:28:50 +0800
committertypebrook <typebrook@gmail.com>2019-04-09 14:28:50 +0800
commit1572100a1b5dbe694b748f6d8e41e0a0f81001cd (patch)
tree6ee04437682e9f0c37dd6333272eac29611969db
parenta12e4690fcf4c8a2f62e0b28c6dae7938e80e197 (diff)
update
-rw-r--r--Makefile3
-rw-r--r--script/sync-vimwiki.cron1
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0b8f8e4..32cd992 100644
--- a/Makefile
+++ b/Makefile
@@ -34,3 +34,6 @@ tig:
34push: 34push:
35 git commit -am "update" 35 git commit -am "update"
36 git push 36 git push
37
38crontab:
39 (crontab -l 2>/dev/null; cat script/*.cron) | crontab -
diff --git a/script/sync-vimwiki.cron b/script/sync-vimwiki.cron
new file mode 100644
index 0000000..f663df9
--- /dev/null
+++ b/script/sync-vimwiki.cron
@@ -0,0 +1 @@
0 * * * * cd ~/vimwiki && git commit -am "update" && git push