7 lines
327 B
Bash
7 lines
327 B
Bash
#!/bin/bash
|
|
# 启动 hr2 (Edge·派卡) 每日筛选守护任务
|
|
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 "hr2 runner started PID=$!" > /tmp/hr2-runner-pid.txt
|