When the job runs, none of the commands after an hcicmd are run, the script just stops but the hcicmd command does run successfully to stop the thread.
Sample script:
call setroot <- runs echo “stopping thread” <- runs hcicmd -p milbadt -c “smsadtbadt pstop” <- runs, thread is stopped sleep 180 <- does not run as job doesn't run for 3 minutes echo “set date and time” <- does not run copy filename1 filename2 <- does not run hcicmd -p milbadt – c “smsadtbadt pstart” <- does not run If we comment out the first hcicmd, the commands after it run successfully, until it reaches another hcicmd command that isn’t commented out. That runs but then nothing after it runs. I’ve tried using the -v flag and the output to our log file is the same as on our Windows 2008 R2 server with Cloverleaf 6.0.1.0. There aren’t any errors and the job shows as successful in Task Scheduler. Is anyone else using the hcicmd command to stop threads via a batch job on Cloverleaf 6.2 on Windows 2016? At this point I’m not sure if it’s Cloverleaf or Windows. Connor