Quoting Robert Williams:
> Let's say I want to whine when a bug has been in a certain state for
> 7 days, and whine again after another 7 days. If the whine executes
> every 7 days, then a bug may end up being nearly 14 days old before
> that first whine is sent out. Is there some way to avoid this?
>
> I'm trying to send out reports listing bugs that have remained in
> certain states for various periods of time. It's important that the
> first reports go out in a timely fashion, but I don't want to annoy
> the recipients with a short interval on follow-up reports.


You should run the whine once per day. Look at if it has been in a
certain state for 6 to 7 days. Then run a separate whine if it has been
in a certain state for 13 to 14 days.