[Remind-Fans] Alternate months

Paul A Sand pas at unh.edu
Thu Feb 4 06:23:31 EST 2010


* Zoong Do Dung PHAM <zoong at zoong.com> [2010-02-04 05:40]:
> How can I specify even months and odd months?
> 
> For example, how can I remind the 2nd Thursday of every even months (Feb, Apr, Jun ..)?
> 
> I tried:
> REM Thursday 7 Feb Apr Jun  AT 13:30 MSG "even months"
> REM Thursday 7 Jan Mar May  AT 13:30 MSG "odd months"

How about:

REM Thu 7 AT 13:30 SATISFY [monnum(trigdate())%2 == 1] MSG "odd months"
REM Thu 7 AT 13:30 SATISFY [monnum(trigdate())%2 == 0] MSG "even months"

-- 
-- Paul A. Sand                 | Me spell chucker work grate.  
-- University of New Hampshire  | Need grandma chicken.
-- pas at unh.edu                  | (yakkoj at netscape.net)
-- http://pubpages.unh.edu/~pas | 



More information about the Remind-fans mailing list