diff options
| -rw-r--r-- | Makefile | 3 | ||||
| -rw-r--r-- | script/sync-vimwiki.cron | 1 |
2 files changed, 4 insertions, 0 deletions
| @@ -34,3 +34,6 @@ tig: | |||
| 34 | push: | 34 | push: |
| 35 | git commit -am "update" | 35 | git commit -am "update" |
| 36 | git push | 36 | git push |
| 37 | |||
| 38 | crontab: | ||
| 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 | |||