aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 &)