diff options
author | typebrook <typebrook@gmail.com> | 2019-04-09 14:28:50 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-04-09 14:28:50 +0800 |
commit | 1572100a1b5dbe694b748f6d8e41e0a0f81001cd (patch) | |
tree | 6ee04437682e9f0c37dd6333272eac29611969db | |
parent | a12e4690fcf4c8a2f62e0b28c6dae7938e80e197 (diff) |
update
-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 | |||