jgclark / NotePlan-tools

This Ruby script adds functionality to the [NotePlan app](https://noteplan.co/). Particularly when run frequently, this provides a more flexible system for repeating tasks, allows for due dates to be expressed as offsets which allows for templates, and moves or files items from Daily files to Note files. It incorporates an ealier script to 'clean' or tidy up NotePlan's data files.
26 stars 6 forks source link

Add a repeating tasks mechanism #2

Closed jgclark closed 4 years ago

jgclark commented 4 years ago

NotePlan 2 does have a way of getting tasks to repeat, but it's not obvious to use, and difficult to update.

I propose adding my own using @repeat(interval) on tasks, that gets activated when a task is completed. It would work in one of two ways:

  1. When interval is of the form +2w it will duplicate the task for 2 weeks' after the date is was completed.
  2. When interval is of the form 2w it will duplicate the task for 2 weeks after the date the task was last due. If this can't be determined, then default to the first option.

Valid intervals are [0-9][dwmqy].