Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

[org-mode]: repeating task in every Mon, Wed, Fri at 18:00, need help with sexp

As I had written in title, I need a little help with improvement of this sexp:

* TODO remeber about thingie.
  SCHEDULED: <%%(or (= 1 (calendar-day-of-week date)) 
                    (= 3 (calendar-day-of-week date)) 
                    (= 5 (calendar-day-of-week date)))>

Now it shows itself in the following days, but I would like to change two things about it:

  • How can I also schedule on specific hours (i.e. 18:00 - 20:00) in the following days

  • How can I made this task repeat itself, just like it repeats itself with

    <2010-05-13 Wed +1w>

    (by repetition I mean something like it automatically logs the closing date and time and comes back to the TODO state).

I will be grateful for any help.

Thanks.

like image 365
zeroDivisible Avatar asked May 13 '10 19:05

zeroDivisible


2 Answers

* TODO remeber about thingie.
  SCHEDULED: <2012-05-07 Mon 18:00 +1w>
  SCHEDULED: <2012-05-09 Wed 18:00 +1w>
  SCHEDULED: <2012-05-11 Fri 18:00 +1w>
like image 127
abo-abo Avatar answered Sep 19 '22 06:09

abo-abo


Unfortunately, you cannot use diary-sexps for repeating TODO items in org-mode like that. The work-around is to create three repeating TODO items, and use the normal org-mode date expressions, not diary sexps.

like image 38
djcb Avatar answered Sep 21 '22 06:09

djcb