aboutsummaryrefslogtreecommitdiffstats
path: root/tw_hooks/on-add_schedule_tg.pl
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-11-22 19:13:24 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2020-11-22 19:13:24 +0000
commit12551ffb5724074c4de53a6275659e0efbc06359 (patch)
treebc3f532531e25e35283fe2fb6497c920caba10d8 /tw_hooks/on-add_schedule_tg.pl
parent7cae84104ae6670d68e87887dc28d01c9ecaee94 (diff)
progress
Diffstat (limited to '')
-rw-r--r--tw_hooks/on-add_schedule_tg.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/tw_hooks/on-add_schedule_tg.pl b/tw_hooks/on-add_schedule_tg.pl
index 085c8f9..5423180 100644
--- a/tw_hooks/on-add_schedule_tg.pl
+++ b/tw_hooks/on-add_schedule_tg.pl
@@ -9,6 +9,16 @@ use DateTime::Format::ISO8601;
# a test hook in Perl for taskwarrior
+
+# ALGORITHM
+
+# Parse the due attribute from TW
+# Convert it into Remind format
+# Log into remote server
+# Check for presece or remind file
+# If it is there, back it up
+# Append the Remind formatted line to the original remind file
+
my @short_months = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
my @days_of_week = qw(Sunday Monday Tuesday Wednesday Thursday Friday Saturday);