8 lines
252 B
Bash
8 lines
252 B
Bash
#!/bin/bash
|
|
cd /opt/data/skills/recruitment-resume-screener/scripts
|
|
LOG=/opt/data/logs/recruitment/runner-hr1-$(date +%F).log
|
|
export ACCOUNT=hr1 CDP_PORT=9223
|
|
nohup node daily-runner.js hr1 9223 >> "$LOG" 2>&1 &
|
|
echo "hr1 runner started PID=$!"
|
|
disown
|