One Monday morning I opened my iMac to a row of reports from checks that had run over the weekend. Each one was a few careful paragraphs, and each one ended with some version of "no issues were found." By the third week of reading that same ending, I had started marking them read without opening them.
The trouble came the week after. On one of the WordPress sites I run, a plugin update had changed the sitemap URL. The report did mention it — in the third paragraph, inside a sentence that began with "just to be safe."
The check itself had worked. What I, as an indie developer looking after apps and websites on my own, had skipped was deciding what should make me stop and look before I handed the check off.
The place to go quiet is the first line, not the notification
A Cowork scheduled task runs a saved prompt in a fresh session at the time you set. The official documentation (Scheduled tasks in Claude Desktop) describes how results reach you:
unless the user has turned them off, Claude Desktop sends a desktop notification when a run finishes, fails, waits for the user, or can't start
So unless you have turned notifications off, you get one every time a run finishes, whether or not anything is wrong. Writing "don't notify me if everything is fine" into the prompt won't stop that notification.
Which means "staying quiet" really means something else: making it obvious, at a glance, that you don't need to open this one. If the first line starts with "All clear," scanning the notification list is the whole morning check.
The app tells me whether it ran; the first line tells me whether to look. That's the split I build around now.
Don't re-implement what the app already reports
The same page lists what happens when a run doesn't go to plan. Reading it before writing the prompt saves you from building a second, overlapping alarm.
- If the device was asleep or the app was closed at the scheduled time, the task runs once after it wakes or opens. Several missed times still produce one run, for the latest, and times older than seven days don't run
- If the provider returns errors such as 500, 503 or 529, the run is retried up to eight times over three to four hours, and you're notified of the first failure and the final outcome
- If a step asks for approval and nobody answers, the run waits and you're notified. In Cowork, that can push the next run back by up to two hours
- A recurring task starts up to ten minutes after its scheduled time, unless you turn on Run at exact time
Failed, waiting, couldn't start: the app covers those. The prompt only has to handle runs that finished but found something wrong.
There's one behavior that's easy to miss, though:
The task's connectors are signed in: otherwise the run continues without the connector
If a connector's sign-in has lapsed, the run carries on without it. The notification shows Reconnect, but the report itself may still say "no issues in what I could see." That's why I always put "a connector or tool I couldn't use" on the speak-up side. I wrote more about deciding whether to wait or hand back on those mornings in three states of an unavailable connector.
Three speak-up lines, three stay-quiet lines
Before touching the prompt, I write the conditions in a plain note. The key is not to define "quiet" as "none of the alert conditions." Spell out what has to be true for silence to be earned.
| Speak up (any one) | Stay quiet (all of these) |
|---|---|
| The check script returned ALERT | The check script returned QUIET |
| The script didn't run, or there's no verdict line | The number of sites checked matches last time |
| A connector or tool couldn't be used | Last run's log exists and is within seven days |
The second and third rows on the right are the ones that matter. If fewer sites were checked, or there's no previous log, an "all clear" may only mean nothing was measured. Anything that couldn't be measured never goes on the quiet side — I settle that line while it's still just a table.
A check script that returns a one-line verdict
If you leave every condition to Claude's reading, the tone of the report drifts from run to run. So I moved the mechanical part into a small script that prints only a verdict on its last line. It looks at three things: days left on the TLS certificate, the home page response, and the sitemap.xml response.
import socket
import ssl
import urllib.error
import urllib.request
from datetime import datetime, timezone
SITES = ["example.com", "example.org"] # domains to check
CERT_WARN_DAYS = 14 # speak up below this many days
def cert_days_left(host):
ctx = ssl.create_default_context()
with socket.create_connection((host, 443), timeout=10) as sock:
with ctx.wrap_socket(sock, server_hostname=host) as s:
not_after = s.getpeercert()["notAfter"]
expires = datetime.strptime(not_after, "%b %d %H:%M:%S %Y %Z")
expires = expires.replace(tzinfo=timezone.utc)
return (expires - datetime.now(timezone.utc)).days
def http_status(url, method="HEAD"):
req = urllib.request.Request(url, method=method, headers={"User-Agent": "site-check/1.0"})
try:
with urllib.request.urlopen(req, timeout=15) as r:
return r.status
except urllib.error.HTTPError as e:
if e.code == 405 and method == "HEAD":
return http_status(url, "GET") # for servers that refuse HEAD
return e.code
alerts = []
for host in SITES:
try:
days = cert_days_left(host)
if days < CERT_WARN_DAYS:
alerts.append(f"{host}: certificate expires in {days} days")
for path in ["/", "/sitemap.xml"]:
code = http_status(f"https://{host}{path}")
if code != 200:
alerts.append(f"{host}{path}: HTTP {code}")
except Exception as e:
alerts.append(f"{host}: could not check ({type(e).__name__})")
for a in alerts:
print(" - " + a)
print(f"VERDICT: {'ALERT' if alerts else 'QUIET'} sites={len(SITES)}")Three notes on why it's written this way:
- Exceptions count as ALERT. Skipping a site you couldn't reach quietly turns "couldn't check" into "fine"
- The verdict appears exactly once, on the last line. The prompt only needs to say "read the VERDICT on the last line," and the wording of the report can't blur it. I used the same last-line marker idea in adding one marker line to completion logs
sites=prints the count. A count that differs from last time is reason enough to speak up
Some servers really do answer HEAD with 405, so only then does it retry with GET. urlopen follows redirects, so the verdict is based on the final response code.
The prompt holds only the conditions and the shape of line one
With the table and the script in place, the scheduled task's prompt stays short:
Runs every Monday morning.
1. Run site_check.py and read the VERDICT on its last line.
2. If any of these is true, start line 1 with "Needs a look:".
- VERDICT is ALERT
- There is no VERDICT line, or the script did not run
- The sites= count differs from the last entry in check_log.txt
- A connector or tool could not be used
3. Only when none are true and check_log.txt has an entry from the last 7 days,
start line 1 with "All clear" and write nothing after it.
4. For "Needs a look", say what, where and the next step on line 1, under 80 characters.
5. Every run, append the date, VERDICT and sites= to check_log.txt."Write nothing after it" in step 3 helped me more than anything else. When quiet weeks still produce polite paragraphs, you learn to treat the reports as something you can skip. If a quiet week says so in one line, the one line in a bad week actually gets seen.
When picking the time, it helps to remember that a missed run fires once after startup. I covered weekday and frequency setups in checking whether a task will run next Saturday.
What I noticed after running it
My first version didn't have "last log within seven days" on the quiet side. One week the machine had been closed for a few days; the check ran once after I opened it and, naturally, said all clear. But check_log.txt showed the previous entry was more than ten days old. The result was right — and I still wanted to be told there had been a gap.
Limiting the "Needs a look" line to a short sentence also meant the notification preview alone told me what to do. "example.org/sitemap.xml: HTTP 404 — check plugin settings" sends me to the admin screen before I've even opened the report.
Start with a single table
You don't need the script on day one. Pick one check you already run and write three speak-up lines and three stay-quiet lines for it. Then see whether the quiet side has a line that confirms something was actually measured — that alone may change how you read your Monday notifications.