aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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