Quantcast
Channel: Planet Ubuntu
Viewing all articles
Browse latest Browse all 17727

Dirk Deimeke: Taskwarrior (3) ...

$
0
0
German text below. / Deutscher Text weiter unten.

This new part of my mini series about Taskwarrior is about recurring tasks and priorities.

- Installation and basic operation
- Dates, dateformat, due dates and wait dates

Task supports currently up to three (four) priorities High, Medium and Low (and none), you can set them by adding a "pri:h" or "pri:m" or "pri:l" or "pri:" to your task.

This affects the display of your task list, higher priority tasks are appearing first if due dates are the same. As ever, you can change this behaviour by editing your config file. If you complete a task and you have higher priotity ones, you see a nag message, which can be configured in the config file as well.

Please check all lines containing "pri" in upper or lower case in your .taskrc.

Recurring tasks are a good possibility to organise repeating duties.

Example:

task add pri:h due:eom recur:monthly pay rent

This adds a high priority "pay rent" task which will be repeated every end-of-month. In fact it adds two (!) tasks, one is invisible and contains the "meta-data" of the task you are creating. And another one which is the due task to be done. If you try to remove the current due task you will be asked if you want to delete the due task and later on, if you want to delete the "master task" as well (this only happens, if you finished the recurring task at last one time).

task recurring

Shows all recurring tasks in one view.

The general command is

task add recur:frequency until:enddate

From the man-page:
due:due-date
Specifies the due-date of a task.
recur:frequency
Specifies the frequency of a recurrence of a task.
until:end-date-of-recurrence
Specifies the Recurrence end-date of a task.

Frequencies:
daily, day, 1d, 2d, ...
Every day or a number of days.
weekdays
Mondays, Tuesdays, Wednesdays, Thursdays, Fridays and skipping weekend days.
weekly, 1w, 2w, ...
Every week or a number of weeks.
biweekly, fortnight
Every two weeks.
quarterly, 1q, 2q, ...
Every three months, a quarter, or a number of quarters.
semiannual
Every six months.
annual, yearly, 1y, 2y, ...
Every year or a number of years.
biannual, biyearly, 2y
Every two years.

To be continued ...

Deutscher Text. / German text.

Dieser neue Teil meiner Miniserie über Taskwarrior handelt von sich wiederholenden Aufgaben und Prioritäten.

- Installation und einfache Aufgaben
- Datum, Datumsformat, Zieltermine und Wartedatum

Task unterstützt bis zu drei (vier) Prioritäten Hoch, Mittel, Niedrig (und keine), Ihr könnt durch Hinzufügen von "pri:h" oder "pri:m" oder "pri:l" oder "pri:" zur Aufgabe setzen.

Das beeinflusst die Darstellung der Aufgabenliste, höher priorisierte Aufgaben erscheinen zuerst, wenn die Fälligkeitsdaten die gleichen sind. Wie immer, so kann auch dass durch Veränderung der Konfigurationsdatei geändert werden. Wenn eine Aufgabe erledigt wird und höher priorisierte Aufgaben vorhanden sind, gibt es eine nervende Nachricht ("nag message"), die auch konfiguriert werden kann.

Bitte prüft einmal alle Zeilen in der .taskrc, die "pri" in Gross- oder Kleinschreibung enthalten.

Sich wiederholende Aufgaben sind eine gute Möglichkeit, wiederkehrende Tätigkeiten zu organisieren.

Beispiel:

task add pri:h due:eom recur:monthly Miete zahlen

Das fügt eine neue "Miete zahlen"-Aufgabe mit hoher Priorität hinzu, die an jedem Monatsende (eom = end-of-month) wiederholt wird. Tatsächlich werden aber zwei (!) Aufgaben hinzugefügt. Eine ist unsichtbar und enthält die Rahmendaten der erzeugten Aufgabe. Eine weitere Aufgabe ist die terminierte Aufgabe, die zu erledigen ist. Wenn Du die Aufgabe löschen willst, wirst Du gefragt, ob Du die Aufgabe mit den Rahmendaten auch löschen möchtest (das passiert aber erst, wenn wenigstens eine Wiederholung erledigt worden ist).

task recurring

zeigt alle sich wiederholenden Aufgaben.

Das generelle Kommando ist

task add recur:frequency until:enddate

Aus der man-page (Handbuch-Seite):

due:due-date
Spezifiziert das Fälligkeitsdatum der Aufgabe.
recur:frequency
Spezifiziert die Wiederholungs-Frequenz der Aufgabe.
until:end-date-of-recurrence
Spezifiziert das Enddatum der Wiederholungen.

Frequenzen:
daily, day, 1d, 2d, ...
Jeden Tag oder alle Anzahl von Tagen.
weekdays
Montags, Dienstags, Mittwochs, Donnerstags, Freitags, Wochenende wird übersprungen.
weekly, 1w, 2w, ...
Wöchentlich oder alle Anzahl von Wochen.
biweekly, fortnight
Alle zwei Wochen.
quarterly, 1q, 2q, ...
Alle drei Monate oder alle Anzahl von Quartalen.
semiannual
Alle sechs Monate.
annual, yearly, 1y, 2y, ...
Jährlich oder alle Anzahl von Jahren.
biannual, biyearly, 2y
Alle zwei Jahre.

Fortsetzung folgt ...

Viewing all articles
Browse latest Browse all 17727

Trending Articles