[Remind-Fans] OMIT more than one day
Paul Pelzl
pelzlpj at eecs.umich.edu
Fri Jul 14 13:03:33 EDT 2006
On Thu, Jul 13, 2006 at 08:01:45AM +0200, Martin Lorenz wrote:
> On Wed, Mar 08, 2006 at 11:59:39AM +0100, mlo at tzi.de wrote:
> > Hi,
> >
> > is it possible to specify more than one single day in an OMIT command?
> >
> > I have a recurring event:
> >
> > 67 REM Wed AT 14:30 DURATION 0:30 SKIP MSG The Message
> >
> > and would like to say, that from Mar 6 'till Mar 22 this will not take place
>
> I understand, that this cannot be done the streightforward way by OMIT
> (unless you write OMITs for each and every day, which is quite tedious if
> you want to specify three whole month - i.e. our 'no teaching' period)
>
> is there any other way to achieve this?
> I have quite a few reminders which are of the above kind
FSET _omitlist(d) [ \
(d < '2006-03-06' || d > '2006-03-22') && \
(d < '2006-06-01' || d > '2006-08-31') && \
(d < '2006-10-06' || d > '2006-10-20')]
# append whatever date ranges you want
REM Mon Wed Fri SATISFY [_omitlist(trigdate())] MSG something
REM Tue SATISFY [_omitlist(trigdate())] MSG something else
More information about the Remind-fans
mailing list