diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2020-11-21 11:34:22 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2020-11-21 11:34:22 +0800 |
| commit | a49904e83ab69faefd3d1f657c9c108d4d742353 (patch) | |
| tree | 79722c9265cb88503397013cfb72afd52cc1b93b | |
| parent | 3924dab6ea63184060896d5c4890f7aa439822f1 (diff) | |
update
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | tools/cron/task.cron | 2 |
2 files changed, 3 insertions, 1 deletions
| @@ -45,7 +45,7 @@ wiki: | |||
| 45 | fi | 45 | fi |
| 46 | 46 | ||
| 47 | crontab: | 47 | crontab: |
| 48 | (crontab -l 2>/dev/null; cat tools/*.cron) | crontab - | 48 | (crontab -l 2>/dev/null; cat tools/cron/* | sed '/^#/ d') | crontab - |
| 49 | 49 | ||
| 50 | libinput: | 50 | libinput: |
| 51 | sudo ln -sf `pwd`/misc/libinput/* /etc/X11/xorg.conf.d/ | 51 | sudo ln -sf `pwd`/misc/libinput/* /etc/X11/xorg.conf.d/ |
diff --git a/tools/cron/task.cron b/tools/cron/task.cron new file mode 100644 index 0000000..938ed4c --- /dev/null +++ b/tools/cron/task.cron | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | # Push changes on ~/.task | ||
| 2 | 0 * * * * (cd ~/.task && git add * && git commit -am update && git push origin &>/dev/null &) | ||