# Cron Job: we-mp-rss 登录状态巡检

**Job ID:** eba217dfc155
**Run Time:** 2026-06-05 09:03:41
**Schedule:** 0 9 * * *

## Prompt

[IMPORTANT: You are running as a scheduled cron job. DELIVERY: Your final response will be automatically delivered to the user — do NOT use send_message or try to deliver the output yourself. Just produce your report/output as your final response and the system handles the rest. SILENT: If there is genuinely nothing new to report, respond with exactly "[SILENT]" (nothing else) to suppress delivery. Never combine [SILENT] with content — either report your findings normally, or say [SILENT] and nothing more.]

## Script Error
The data-collection script failed. Report this to the user.

```
Script exited with code 1
stderr:
Traceback (most recent call last):
  File "/home/agentuser/.hermes/scripts/check_werss_login.py", line 3, in <module>
    import redis
ModuleNotFoundError: No module named 'redis'
```

运行 check_werss_login.py 检查登录状态。脚本会自动处理企微群通知。你只需根据脚本输出做出响应即可——如果 logged_in=true 无需动作，false 时脚本已发企微群通知，你在回复中简单确认即可。

## Response

✅ **we-mp-rss 登录状态正常** — `logged_in=true`，无需重新扫码。

---

**关于脚本报错：** `check_werss_login.py` 依赖的 `redis` 模块安装在项目 venv 中 (`we-mp-rss-main/venv`)，但 cron 使用了系统 Python（缺少该模块）。建议将 cron 命令改为使用 venv 的 Python：

```
/home/agentuser/project/we-mp-rss-main源文件/we-mp-rss-main/venv/bin/python3 /home/agentuser/.hermes/scripts/check_werss_login.py
```
