Claim each print follow-up before it is sent, and copy launch counts from existing Rules.

This commit is contained in:
adilallo committed 2026-11-10 19:07:36 -07:00
1 parent d9c475a967
commit 214da262df
5 files changed
+108 -21

No files matched your search

+6 -3
View File
@@ -326,9 +326,12 @@ command under the app **Cron** tab (`20 7 * * *`, UTC).
The same scheduler addon also runs **`follow-up-mail`** at **15 minutes
past every hour**. It sends one print follow-up to the address that holds
the pen, 48 hours after the Rule was finished, with PDF and RULE.md
links. Guest Rules with no account are skipped until claimed, and only
Rules finished in the last seven days are considered so a first run after
deploy does not mail every historic Rule.
links. Guest Rules with no account are skipped until claimed. Rules
finished more than seven days before this mail existed are closed in the
migration and are not sent. A Rule that is already due stays eligible
until the job claims it, including after a scheduler outage longer than
seven days. The claim is written before the message is sent, and cleared
again if sending fails, so overlapping runs cannot deliver it twice.
Manual run: