Skip to content

my_backup Weekly Notification — Diagnosis & Fix

Section titled “my_backup Weekly Notification — Diagnosis & Fix”

send_status_report was supposed to email a weekly status report every Sunday at 9 AM but had stopped arriving.

DateErrorOutcome
2026-03-22535 BadCredentials — Gmail rejected App PasswordTransient; credentials still work
2026-03-29535 BadCredentials — sameTransient; credentials still work
2026-04-05/bin/sh: 1: uv: not foundRoot cause — fixed

uv is installed at /home/ta/.local/bin/uv. Cron’s default PATH (/usr/bin:/bin) doesn’t include that directory. The Mar 22/29 BadCredentials errors appear to have been transient Google auth issues — the same App Password works fine now.

Added PATH=/home/ta/.local/bin:/usr/local/bin:/usr/bin:/bin to the top of the crontab. This covers all cron jobs, not just send_status_report.

Verified: Manual test run with full paths succeeded — email delivered to tstevens99@gmail.com with no errors.

First run under fixed crontab: Sunday 2026-04-12 at 9 AM.