[Remind-Fans] Two weeks on, one week off?

Edward Shapard ed.shapard at gmail.com
Wed Sep 20 14:19:13 EDT 2023


Wow, that was fast! Thanks!!!!

On Wed, Sep 20, 2023 at 11:02 AM Tim Chase via Remind-fans <
remind-fans at lists.skoll.ca> wrote:

> On 2023-09-20 13:52, Dianne Skoll via Remind-fans wrote:
> > Edward Shapard wrote:
> >
> > > Does anyone know of an easy way to schedule something that will occur
> > > every day for two weeks, but then have one week off and then repeat?
> >
> > There are a bunch of ways, but this one worked for me.  It assumes
> > that a two-week-on cycle started on 2023-09-02.
> >
> >    REM FROM 2023-09-02 SATISFY [(($T - '2023-09-02') % 21) < 14] MSG Med
> >
> > (You don't technically need the "FROM 2023-09-02" part if you don't care
> > what happens for dates before that day.)
>
> Or, employ that trigfrom() you graciously slid in for me...
>
>   REM FROM Sep 2 2023 SATISFY [(($T - trigfrom()) % 21 < 14)] MSG meds
>
> That way, if things get thrown off (having recently experienced a
> prescription supply-chain disruption, I know the annoyance) and
> you have to change the start-date, you only have to update it in
> one place rather than both.  :-)
>
> -tim
>
> _______________________________________________
> Remind-fans mailing list
> Remind-fans at lists.skoll.ca
> https://dianne.skoll.ca/mailman/listinfo/remind-fans
> Remind is at https://dianne.skoll.ca/projects/remind/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dianne.skoll.ca/pipermail/remind-fans/attachments/20230920/5332802c/attachment.htm>


More information about the Remind-fans mailing list