[Remind-Fans] Skip remind in certain years
Roel Wagenaar
roel at wagenaar.nu
Thu May 5 07:50:50 EDT 2016
Dianne Skoll <dfs at roaringpenguin.com> wrote:
> On Thu, 5 May 2016 11:58:18 +0200 Roel Wagenaar <roel at wagenaar.nu> wrote:
>
> > How can I skip reminds in the years it is not wanted? In the Netherlands
> > liberationday is only once in every five years a public holiday.
>
> This will issue a reminder only in years that are a multiple of 5:
>
> REM 6 June SATISFY [($Ty % 5) == 0] MSG Every 5 years!
>
> If your version of remind fails to evaluate $Ty, it's old and you should use
> this instead:
>
> REM 6 June SATISFY [(year(trigdate()) % 5) == 0] MSG Every 5 years!
>
> Adjust the 0 to 1, 2, 3, or 4 as required.
>
> Regards,
>
> Dianne.
>
>
>
Thanks Dianne, I was looking at an OMIT and SKIP solurion, but this is an even
neater solution.
--
Roel Wagenaar,
telegram: 0629426511
Linux-User #469851 with the Linux Counter; http://linuxcounter.net/
Antw.: Omdat het de volgorde verstoord waarin mensen tekst lezen.
Vraag: Waarom is top-posting een slechte gewoonte?
Antw.: Top-posting.
Vraag: Wat is het meest ergerlijke in e-mail?
Be nice to your kids. They'll choose your nursing home.
More information about the Remind-fans
mailing list