I have set up schedules using launchd on my Macbook to run a shell script calling newman, but the stderr reports:
/usr/local/bin/newman: No such file or directory
What is the complete path for Newman on Macbook?
OS: macOS High Sierra Version 10.13.4
Postman version = 6.0.10
shell script excerpt:
newman run $autopath/$collection --folder E2E_POSITIVE_US -e $autopath/$env --ssl-client-cert xxx.crt --ssl-client-key xxx.key --ssl-client-passphrase xxx
launchd conifg:
<?xml version="1.0" encoding="UTF-8"?> Label local.run_nm_xxx_01 Program /Users/xxx/xxx/qa_test_scripts/Postman/AUTO/run_nm_xxx_01.sh StandardOutPath /tmp/test.stdout StandardErrorPath /tmp/test.stderr RunAtLoad KeepAlive PathState /tmp/runnm.txt StartCalendarInterval Hour 11 Minute 46 ThrottleInterval 300