aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2020-11-21 11:34:22 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2020-11-21 11:34:22 +0800
commita49904e83ab69faefd3d1f657c9c108d4d742353 (patch)
tree79722c9265cb88503397013cfb72afd52cc1b93b
parent3924dab6ea63184060896d5c4890f7aa439822f1 (diff)
update
-rw-r--r--Makefile2
-rw-r--r--tools/cron/task.cron2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7d87a79..c2ad7b5 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ wiki:
45 fi 45 fi
46 46
47crontab: 47crontab:
48 (crontab -l 2>/dev/null; cat tools/*.cron) | crontab - 48 (crontab -l 2>/dev/null; cat tools/cron/* | sed '/^#/ d') | crontab -
49 49
50libinput: 50libinput:
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
20 * * * * (cd ~/.task && git add * && git commit -am update && git push origin &>/dev/null &)