Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Snow Leopard iCal - Event on Friday if the Nth is a weekend/holiday?

I have a bill that is normally due on the 13th of the month. But if the 13th falls on a weekend or a holiday, the due date is the last business day before the 13th (the 12th, 11th, or 10th). Is there any way to have a repeating event automatically schedule itself for "the 13th, or the last business day before?"

MacBook Pro, Mac OS X (10.6.8), 2.53 GHz dual-core i5, 4 GB RAM

Posted on Sep 14, 2011 1:08 PM

Reply
Question marked as Best reply

Posted on Sep 14, 2011 3:23 PM

Hi Peter,


You can set an event to do this, but not directly through iCal's user interface.


Make an event on the 13th of the month. Drag the event to the desktop and delete it from iCal. Drop the desktop copy on a text editor (eg Text Edit) and add the following line between the BEGIN:VEVENT and END:VEVENT lines:


RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYMONTHDAY=11,12,13;BYSETPOS=-1


The file will look something like this (although this is from iCal 5):


BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Apple Inc.//iCal 5.0//EN
CALSCALE:GREGORIAN
BEGIN:VEVENT
CREATED:20110914T221142Z
UID:582E-43C8-8CF3-4A817D44F526
DTEND;VALUE=DATE:20110914
TRANSP:TRANSPARENT
SUMMARY:New Event
RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYMONTHDAY=11,12,13;BYSETPOS=-1
DTSTART;VALUE=DATE:20110913
DTSTAMP:20110914T221142Z
SEQUENCE:1
END:VEVENT
END:VCALENDAR


Save the file and drag the it from the desktop back into iCal. It will now repeat on the last weekday before the 13th every month. It will not take public holidays into account.


Best wishes


John M

1 reply
Question marked as Best reply

Sep 14, 2011 3:23 PM in response to PeterPQA

Hi Peter,


You can set an event to do this, but not directly through iCal's user interface.


Make an event on the 13th of the month. Drag the event to the desktop and delete it from iCal. Drop the desktop copy on a text editor (eg Text Edit) and add the following line between the BEGIN:VEVENT and END:VEVENT lines:


RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYMONTHDAY=11,12,13;BYSETPOS=-1


The file will look something like this (although this is from iCal 5):


BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Apple Inc.//iCal 5.0//EN
CALSCALE:GREGORIAN
BEGIN:VEVENT
CREATED:20110914T221142Z
UID:582E-43C8-8CF3-4A817D44F526
DTEND;VALUE=DATE:20110914
TRANSP:TRANSPARENT
SUMMARY:New Event
RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYMONTHDAY=11,12,13;BYSETPOS=-1
DTSTART;VALUE=DATE:20110913
DTSTAMP:20110914T221142Z
SEQUENCE:1
END:VEVENT
END:VCALENDAR


Save the file and drag the it from the desktop back into iCal. It will now repeat on the last weekday before the 13th every month. It will not take public holidays into account.


Best wishes


John M

Snow Leopard iCal - Event on Friday if the Nth is a weekend/holiday?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.