diff options
-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 &) | ||