From a49904e83ab69faefd3d1f657c9c108d4d742353 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sat, 21 Nov 2020 11:34:22 +0800 Subject: update --- Makefile | 2 +- tools/cron/task.cron | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 tools/cron/task.cron diff --git a/Makefile b/Makefile index 7d87a79..c2ad7b5 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ wiki: fi crontab: - (crontab -l 2>/dev/null; cat tools/*.cron) | crontab - + (crontab -l 2>/dev/null; cat tools/cron/* | sed '/^#/ d') | crontab - libinput: 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 @@ +# Push changes on ~/.task +0 * * * * (cd ~/.task && git add * && git commit -am update && git push origin &>/dev/null &) -- cgit v1.2.3-70-g09d2