Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iCalendar (RFC5545) recurrence rule multiple times a day

How can I make an event occur multiple times a day using the RRULE specified in RFC5545?

Lets say I would like an event to happen every other week on Monday and Friday at 11AM and 18PM. Is it possible to format the RRULE like something as the following:

RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=MO,FR;[TIMES=110000,180000]

Thanks

like image 808
cooxie Avatar asked Oct 09 '22 07:10

cooxie


1 Answers

you have to use the byhour The BYHOUR rule part specifies a COMMA- separated list of hours of the day. Valid values are 0 to 23.

so that would be :

RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=MO,FR;BYHOUR=11,18

like image 61
Auberon Vacher Avatar answered Oct 12 '22 19:10

Auberon Vacher