emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Updating :PROPERTIES: :ACTUAL: with total clocked time
@ 2017-01-28  6:02 Shakthi Kannan
  0 siblings, 0 replies; only message in thread
From: Shakthi Kannan @ 2017-01-28  6:02 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I would like to know how we can update the :ACTUAL: field in
:PROPERTIES: for a DONE task with the total clocked time. A MWE:

=== sample.org ===

* IN_PROGRESS Task A
    :PROPERTIES:
    :ESTIMATED: 4.0
    :ACTUAL:
    :END:
    :LOGBOOK:
    CLOCK: [2017-01-26 Thu 19:00]--[2017-01-26 Thu 19:30] =>  0:30
    CLOCK: [2017-01-26 Thu 13:00]--[2017-01-26 Thu 14:30] =>  1:30
    :END:

=== END ===

As soon as I mark the above task as DONE, the total clocked time needs
to be updated in the :ACTUAL: field as shown below:

=== sample.org ===

* DONE Task A
    :PROPERTIES:
    :ESTIMATED: 4.0
    :ACTUAL: 2.0
    :END:
    :LOGBOOK:
    CLOCK: [2017-01-26 Thu 19:00]--[2017-01-26 Thu 19:30] =>  0:30
    CLOCK: [2017-01-26 Thu 13:00]--[2017-01-26 Thu 14:30] =>  1:30
    :END:

=== END ===

How can this be achieved?

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-28  6:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-28  6:02 Updating :PROPERTIES: :ACTUAL: with total clocked time Shakthi Kannan

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).