# Mail-template thumbnails — HOUSEKEEPING ONLY.
#
# ⚠️ This used to be `*/5 * * * * … thumbs-warm.php` with no argument: headless
# Chrome over EVERY template every five minutes. Combined with a cache key that
# included the current time, nothing ever hit cache — the box re-rendered every
# template 288 times a day forever and left 64,632 orphaned PNGs (2.8 GB).
#
# Thumbnails are now baked ON DEMAND when a card is actually viewed
# (actions/notifs-action.php → alpha-mailthumb). All this job does is throw away
# thumbnails no live template can ask for any more. Nightly, niced, no Chrome.
17 4 * * * www-data nice -n 19 php /var/www/alpha/lib/content/thumbs-warm.php --prune >/dev/null 2>&1
