feat(messenger): 全部77个活跃cron脚本接入统一消息通道(install_stdio_hook)
This commit is contained in:
@@ -30,6 +30,13 @@ import subprocess
|
||||
from pathlib import Path
|
||||
from datetime import datetime
|
||||
|
||||
# ── 消息通道统一路由(broadcast/xmpp by delivery) ──
|
||||
try:
|
||||
from messenger import install_stdio_hook as _msh
|
||||
_msh()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
_SCRIPT_DIR = Path(__file__).resolve().parent
|
||||
sys.path.insert(0, str(_SCRIPT_DIR))
|
||||
sys.path.insert(0, "/home/hmo/MoFin")
|
||||
|
||||
Reference in New Issue
Block a user