summaryrefslogtreecommitdiff
path: root/gemfeed/examples/conf/frontends/scripts/taskwarrior.sh.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'gemfeed/examples/conf/frontends/scripts/taskwarrior.sh.tpl')
-rw-r--r--gemfeed/examples/conf/frontends/scripts/taskwarrior.sh.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/gemfeed/examples/conf/frontends/scripts/taskwarrior.sh.tpl b/gemfeed/examples/conf/frontends/scripts/taskwarrior.sh.tpl
new file mode 100644
index 00000000..aaafbe98
--- /dev/null
+++ b/gemfeed/examples/conf/frontends/scripts/taskwarrior.sh.tpl
@@ -0,0 +1,5 @@
+PATH=$PATH:/usr/local/bin
+
+echo "Any tasks due before the next 14 days?"
+# Using git user, as ssh keys are already there to sync the task db!
+su - git -c '/usr/local/bin/task rc:/etc/taskrc due.before:14day minimal 2>/dev/null'