#!/bin/bash
# Daily Google OAuth token refresh — silent on success, alerts on failure
RESULT=$(python /DATA/.hermes/skills/productivity/google-workspace/scripts/setup.py --check 2>&1)
EXIT=$?
if [ $EXIT -ne 0 ]; then
    echo "⚠️ Google OAuth Token-Refresh FEHLGESCHLAGEN: $RESULT"
    exit 1
fi
# Success → silent (no output, exit 0)
