taskwarrior icon indicating copy to clipboard operation
taskwarrior copied to clipboard

[TW-87] recurring for scheduled tasks

Open taskwarrior opened this issue 7 years ago • 8 comments

Roy Zuo on 2013-04-08T03:35:36Z says:

I am using 2.1.2 and there is no way to make recurring tasks work with scheduling. A due day must be specified.

I rarely use "due", instead "scheduled" is my favourite. Although they are very similar, I feel "scheduled" is a more proactive word and it sounds like that I am the one in control of the list instead of been chased by deadlines.

Now, I am syncing with toodledo, converting their duedate field to "scheduled" in taskwarrior. Completing a task on my android phone creates a new task as expected, but completing on computer would not which means after syncing I would not find a new task for it anywhere.

Is it possible to add recurring to "scheduled" tasks?

taskwarrior avatar Feb 12 '18 17:02 taskwarrior

Migrated metadata:

Created: 2013-04-08T03:35:36Z
Modified: 2016-01-07T04:03:10Z

taskwarrior avatar Feb 12 '18 17:02 taskwarrior

Paul Beckingham on 2013-04-08T21:05:42Z says:

No, recurrence only applies to due.

taskwarrior avatar Feb 12 '18 17:02 taskwarrior

Paul Beckingham on 2014-12-27T16:01:55Z says:

The implications for recurring on scheduled date are complex, and I think due date is sufficient.

taskwarrior avatar Feb 12 '18 17:02 taskwarrior

Jeffrey Ratcliffe on 2016-01-06T10:06:44Z says:

I disagree. I have recurring tasks that can't be done before the scheduled date.

Therefore, I would like to be able to have scheduled: and recur: without due:

taskwarrior avatar Feb 12 '18 17:02 taskwarrior

Paul Beckingham on 2016-01-07T04:03:10Z says:

Agreed. Recurrence will be enhanced in 2.6.0.

taskwarrior avatar Feb 12 '18 17:02 taskwarrior

@pbeckingham I think my confusion in #2157 was due to this issue.

When I create a task:

$ task add "Do something every day" recur:daily due:today+20h scheduled:due-18h

I'm expecting new tasks to be created with a due date set to the next day, and the scheduled date to follow the due date.

What I can observe:

  • Task created on May 8 with due date 8th 8pm and scheduled date 8th 2am, completed on the 8th
  • Task created on May 8 with due date 9th 8pm and scheduled date 8th 2am, completed on the 9th
  • Task created on May 9 with due date 10th 8pm and scheduled date 8th 2am...

This is a problem for me to follow the Inbox zero methodology because I do not want to see tomorrow's task in today's list of tasks. Currently having to re-edit all recurring tasks scheduled dates, every day.

AdrienLemaire avatar May 10 '19 05:05 AdrienLemaire

currently, I need to run the following command several times a day:

$ for id in $(task +READY -DUETODAY +CHILD export | jq '.[].id'); do task rc.recurrence.confirmation=no $id modify scheduled:$(task $id info |grep Due | awk '{print $2}'); done

This will auto-update the scheduled date of recurring tasks that aren't due today to the due date without the due time.

AdrienLemaire avatar May 12 '19 03:05 AdrienLemaire

Just commenting that this feature would enhance my workflow. I use taskwarrior for many recurring tasks that don't really have a hard due date, such as 'water plants' or 'call home'. Generally I set them to wait until the day they are due, which gives them inappropriately high urgencies. "Scheduled" makes a lot more semantic sense than "due" for these sorts of things.

rbuchberger avatar Jun 03 '19 12:06 rbuchberger