Orgmode: report on tasks that are completed during the week

Is it possible to query org mode to report a list of TODO elements that I have been working on for a certain period of time?

It can be assumed that for each Todo entry I have a timestamp, for example. <2014-03-13 Thu 17:04>

+6
source share
2 answers

A quick way is to look at the magazine on the agenda.

You can see the agenda (see Agenda in Org Mode docs). Move the agenda to the desired period - day, week, month, year. Put it in log mode (using the "l" key described in section 10.5 "Commands in the agenda buffer" ). This will show for what period of time you work and when.

You can also use the hours table (see section 8.4.2 The hours table ) to get a detailed report in which you can set all the information about what interests you.

(Note: the heading numbers of the sections to which I refer are in version 8.2.5h in Org mode, your version may differ, but these sections will still be there)

+6
source

I use these views on the agenda to create daily, weekly, and monthly reviews. Everything with a time stamp in a given period is indicated, even archived material. It also adds a clock table to the bottom and will export to html files when exporting your agenda views (using Cc ae ).

 ;; define "R" as the prefix key for reviewing what happened in various ;; time periods (add-to-list 'org-agenda-custom-commands '("R" . "Review" ) ) ;; Common settings for all reviews (setq efs/org-agenda-review-settings '((org-agenda-files '("~/org/notes.org" "~/org/projects.org" )) (org-agenda-show-all-dates t) (org-agenda-start-with-log-mode t) (org-agenda-start-with-clockreport-mode t) (org-agenda-archives-mode t) ;; I don't care if an entry was archived (org-agenda-hide-tags-regexp (concat org-agenda-hide-tags-regexp "\\|ARCHIVE")) )) ;; Show the agenda with the log turn on, the clock table show and ;; archived entries shown. These commands are all the same exept for ;; the time period. (add-to-list 'org-agenda-custom-commands `("Rw" "Week in review" agenda "" ;; agenda settings ,(append efs/org-agenda-review-settings '((org-agenda-span 'week) (org-agenda-start-on-weekday 0) (org-agenda-overriding-header "Week in Review")) ) ("~/org/review/week.html") )) (add-to-list 'org-agenda-custom-commands `("Rd" "Day in review" agenda "" ;; agenda settings ,(append efs/org-agenda-review-settings '((org-agenda-span 'day) (org-agenda-overriding-header "Week in Review")) ) ("~/org/review/day.html") )) (add-to-list 'org-agenda-custom-commands `("Rm" "Month in review" agenda "" ;; agenda settings ,(append efs/org-agenda-review-settings '((org-agenda-span 'month) (org-agenda-start-day "01") (org-read-date-prefer-future nil) (org-agenda-overriding-header "Month in Review")) ) ("~/org/review/month.html") )) 
+2
source

All Articles