日报按开工情况裁剪(v1.2): 双账号均无数据→不发空消息; 单账号开工→只发该账号(总览/小节/资源表均剔除未开工账号)

This commit is contained in:
hermes
2026-09-11 13:00:04 +00:00
parent 4e4cec3e1b
commit e6f5fd61bd
4 changed files with 50 additions and 19 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
# hr2 daily-runner 启动脚本(cron 用)
cd /opt/data/skills/recruitment-resume-screener/scripts || exit 1
LOG=/opt/data/logs/recruitment/runner-hr2-$(date +%F).log
ACCOUNT=hr2 CDP_PORT=9225 nohup node daily-runner.js hr2 9225 >> "$LOG" 2>&1 &
echo $! > /opt/data/logs/recruitment/runner-hr2.pid
echo "hr2 runner started PID=$!"