日报按开工情况裁剪(v1.2): 双账号均无数据→不发空消息; 单账号开工→只发该账号(总览/小节/资源表均剔除未开工账号)
This commit is contained in:
@@ -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=$!"
|
||||
Reference in New Issue
Block a user