![]() |
2010-07-15
, 15:44
|
Posts: 5 |
Thanked: 6 times |
Joined on Jul 2010
|
#2
|
cd ~/.calendar cp calendardb calendardb.old
sqlite3 calendardb select * from components where summary="Exact event title";
select * from recursive where id=123;
update recursive set rrule="FREQ=WEEKLY;INTERVAL=2!", rtype=6 where id=610;
![]() |
2010-07-15
, 15:49
|
Posts: 88 |
Thanked: 28 times |
Joined on Jul 2010
@ London
|
#3
|
EDIT: solution in post below
What is the best way to set non-standard recurring events? For a real-world example, I have a tutorial for university, beginning next Tuesday and repeating fortnightly until the mid-semester break, which means creating the following appointment:
Tuesday 20th July, from 15:10--16:00
Repeat: fortnightly, until 27th August
After searching the these forums & the wider internet, it seems to come down to a few options:
*) Don't. Create a single appointment for every occurrence. This is slow, inefficient, and makes changing any detail a batch process.
*) As mentioned here: http://wiki.maemo.org/Repeating_entries_in_Calendar , export the repeating entry from a desktop calendar and import with the N900-calendar. I tried this with Evolution, and it didn't work- detail said `repeat weekly' but didn't repeat at all.
*) Using GPE Calendar, creating an event, then saving and importing to N900-calendar. This seems to work with all-day events, but not with timed appointments.
*) The solution by `kortsi': http://talk.maemo.org/showpost.php?p=496924&postcount=4 , editing the SQLite db by hand. This works, however it still says "Repeat:weekly" but displays fortnightly, so if you edit an appointment for any reason, it reverts back to weekly.
If I can flag an event as being a "Complex event. Unable to edit.", in theory this would allow you to edit the appointment without losing the modified-repeat. It's been a few years since I've done any SQL, but it seems most records in the RECURSIVE table have a last field of 3 or 5, eg
"620|FREQ=WEEKLY;UNTIL=20101015T105000!||||-1|3"
...but an event the N900-calendar flags as "Unable to edit" has a different value- one ended in "|6".
I'm going to go and read up on my old SQL notes and experiment, does anyone else have any other suggestions on how best to enter custom repeating events?
//G
Last edited by G..; 2010-07-15 at 15:46.