On 2020-09-25 19:53, Jens Mueller wrote:
> rem mon SKIP SATISFY [isomitted(trigdate()+1)] msg Bridging day
> rem fri SKIP SATISFY [isomitted(trigdate()-1)] msg Bridging day
That won't work.
One reason it can fail is if there are no omitted days around today
or at any point in the future. Try this:
echo 'mon SKIP SATISFY [isomitted(trigdate()+1)] MSG Bridging' | remind -dtx -
WARNING: It will produce a lot of output.
The SATISFY clause will search fruitlessly for an omitted Tuesday and will
give up after the SATISFY iteration limit.
You'll have to rewrite the logic as follows:
IFTRIG Mon SKIP
IF isomitted(trigdate()+1)
REM [trigdate()] MSG Bridging Day
ENDIF
ENDIF
IFTRIG Fri SKIP
IF isomitted(trigdate()-1)
REM [trigdate()] MSG Bridging Day
ENDIF
ENDIF
Regards,
Dianne.
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/