On 19.01.12,15:16, Jostein Berntsen wrote:
> On 19.01.12,15:03, Borghal Rantipole wrote:
> > Hello,
> >
> > I want to set up weekly recurring events (rehearsals) that skip dates from
> > my school holiday calendar. How do I do this?
> >
> > Example: rehearsals are monday every week but not during easter holidays
> > (april 2 until april 14).
> >
>
> You use PUSH and POP like this:
>
>
> PUSH-OMIT-CONTEXT
> OMIT 2012-04-02 THROUGH 2012-04-14
> REM Monday AT 18:00 DURATION 3:00 MSG Rehearseals
> POP-OMIT-CONTEXT
>
> Or you can have a Vacation function like this:
>
>
> FSET vacation_2012(x) isomitted (x) || \
> (evaltrig("2012-04-02 *1 UNTIL 2012-04-14", x) == x) ||
> \
> (evaltrig("2012-05-30 *1 UNTIL 2010-06-11", x) == x) ||
>
>
> REM Mon SKIP \
> OMITFUNC vacation_2010 \
> AT 7:45 DURATION 8:00 MSG
>
>
> REM 2012-04-02 *1 UNTIL 2012-04-14 MSG Vacation: Easter holidays
> REM 2012-05-30 *1 UNTIL 2012-06-11 MSG Vacation: Italy
>
This should be:
REM Mon SKIP \
OMITFUNC vacation_2012 \
AT 7:45 DURATION 8:00 MSG
in the vacation function.
Jostein
_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
Remind is at http://www.roaringpenguin.com/products/remind