Files
zhaopin/scripts/start-runner-hr1.sh
T

7 lines
274 B
Bash
Executable File

#!/bin/sh
# hr1 daily-runner launcher (cron-safe, self-detaching)
cd /opt/data/skills/recruitment-resume-screener/scripts || exit 1
export ACCOUNT=hr1
export CDP_PORT=9223
exec nohup node daily-runner.js hr1 9223 > /opt/data/logs/recruitment/runner-hr1-$(date +%F).log 2>&1