Use for programming questions related to Taskwarrior, such as questions regarding hook scripts. Questions about Taskwarrior usage and customization should be asked on Super User.
Questions tagged [taskwarrior]
26 questions
206
votes
18 answers
RegEx to extract all matches from string using RegExp.exec
I'm trying to parse the following kind of string:
[key:"val" key2:"val2"]
where there are arbitrary key:"val" pairs inside. I want to grab the key name and the value.
For those curious I'm trying to parse the database format of task warrior.
Here…
![](../../users/profiles/794937.webp)
gatlin
- 2,079
- 2
- 12
- 6
14
votes
3 answers
taskwarrior, delete old recurring tasks
How would I delete all recurring tasks in taskwarrior, which are completed, till some date?
I tried:
task Nevena until:07/29/2014 uuids
to get listed those that fall before that date, and collect their id's, so I could pipe them to delete command,…
![](../../users/profiles/2434479.webp)
branquito
- 3,276
- 4
- 28
- 54
7
votes
3 answers
taskwarrior conditional in filter
Does anyone know if a conditional (such as 'not') can be applied in a taskwarrior filter.
I want to list all tasks except for the ones related to one project.
Say I have projects A thru F, I want all tasks except the ones from project C. It looks…
![](../../users/profiles/390637.webp)
dave
- 827
- 1
- 7
- 18
5
votes
2 answers
taskwarrior - Is it possible to report on the time spent on tasks?
I'm trying to use taskwarrior to track time for billing purposes.
To do that I'm trying to generate a report showing the hours spend on each task. The standard completed report gives the Created and Completed dates but not times, so I cant see how…
![](../../users/profiles/9278374.webp)
Michael Anonymous
- 121
- 7
4
votes
2 answers
taskwarrior "task del" without confirmation dialog
In taskwarrior there are some commands which need confirmirmation, like deleting more than 2 tasks or modify recurring tasks. I don't want to confirm every time and I have already set "confirmation off" in file .taskrc .
I'm using the subprocess…
![](../../users/profiles/8873688.webp)
Jighen
- 71
- 5
3
votes
1 answer
Adjust multiple Taskwarrior task due dates by a specific amount
I like to create Tasks corresponding to chapters in books. In this way, I can create a schedule for reading which allows me to know when I'll finish a book, where I'll be by such-and-such date, ETC. Given that I like to read several books at a time,…
![](../../users/profiles/4937528.webp)
Seanimus
- 337
- 1
- 12
3
votes
0 answers
Taskwarrior Taskserver with Nginx
I have a current configuration with docker + taskserver + nginx reverse proxy and when I connect using task sync it fails.
$ task sync
c: 1 Received record packet of unknown type 72
Syncing with task.reggi.com:80
Handshake failed. An unexpected…
![](../../users/profiles/340688.webp)
ThomasReggi
- 42,912
- 63
- 199
- 343
3
votes
1 answer
TaskWarrior Port not Opening Externally
I run a Debian 9 server (recently upgraded from Debian 8 where similar problems occurred). I have a task warrior instance up and running and it works internally, I am unable to sync to it externally however. I run a UFW firewall…
![](../../users/profiles/6163828.webp)
TheOrganist24
- 89
- 7
2
votes
1 answer
taskwarrior, delete multiple recurring tasks without request for deleting all pending
Returning from holidays, I want to delete all recurrent daily routines not done during absence. For this i use:
task 100-200 delete
Then I confirm the request:
Delete task 100 'Drink: water, 0.7l, before 10:00'? (yes/no/all/quit)
with a (for…
![](../../users/profiles/2436885.webp)
alex
- 995
- 1
- 13
- 23
2
votes
0 answers
taskserver: client connection handshake failed
Issue
client$ task sync
Syncing with .localdomain:53589
Handshake failed. The TLS connection was non-properly terminated.
Sync failed. Could not connect to the Taskserver
TL;DR I'm pretty sure this isn't an issue with certificates, but…
![](../../users/profiles/7069467.webp)
Rob BC
- 21
- 1
2
votes
1 answer
Cannot add project or tag to my task in taskwarrior
Everytime when I try to add project to taskwarrior in terminal (task 1 project:organize), I get this message: No command specified - assuming 'information'.
No matches.
How to resolve it?
![](../../users/profiles/4499909.webp)
Anatoly Khalizev
- 43
- 6
1
vote
1 answer
How to set or modify a task to be due end of day tomorrow with taskwarrior?
I would like to set the deadline for a task to be end of day tomorrow. The following was my first attempt:
task add 'Ask question about tw on StackOverflow' due:tomorrow eod
That fails, resulting in eod being appended to the description:
21 4s …
![](../../users/profiles/1694378.webp)
RobinLovelace
- 4,109
- 5
- 26
- 40
1
vote
2 answers
Taskwarrior: How do I find the tasks that depend on a specific tasks?
How do I find out which task(s) depend on a specific task without reading the information of all tasks?
Reproduction
System
Version
$ task --version
2.5.1
.taskrc
# Taskwarrior program configuration file.
#…
![](../../users/profiles/5129897.webp)
Hoschi-IT
- 13
- 4
1
vote
3 answers
how to display calculated timedelta as time in python
I'm calculating time stored in timewarrior via timew-report python library.
I'm adding up the time, which I'm able to do. And I'm trying get the total to display in just a number of hours:minutes:seconds, without days.
My…
![](../../users/profiles/3089106.webp)
alec
- 271
- 1
- 8
1
vote
2 answers
How to toggle a split window in Vim
I have the TaskWarrior Plugin installed. In order to show the tasks, you have to enter the :TW command. The problem is, TaskWarrior is displayed in the same buffer that I'm using for editing. In order to avoid that, I have to create a new Split…
![](../../users/profiles/12637.webp)
Omar Abid
- 14,746
- 24
- 72
- 105