diff options
Diffstat (limited to 'tw_hooks/on-add_schedule_tg.pl')
-rw-r--r-- | tw_hooks/on-add_schedule_tg.pl | 10 |
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); |