#!/bin/bash # Monitor ComfyUI generation progress for i in $(seq 1 20); do echo "=== CHECK $i ($(date +%H:%M:%S)) ===" tail -5 /home/fabian/comfyui8.log if ls /home/fabian/ComfyUI/output/bc250_test* 2>/dev/null; then echo "*** IMAGE SAVED! ***" exit 0 fi sleep 10 done echo "=== TIMEOUT - checking full log tail ===" tail -30 /home/fabian/comfyui8.log