I have configured a profile in order to run an .sh script vía nexec probe. It does fail with all execution levels. All user have read and execution permissions over the script, but even if I select "Available to all" the script is not executed. I need to run this script using nexec in order to avoid using cron.
Release : 9.0.2
Component : UIM - NEXEC
nexec just executes programs or scripts. So if your command is -> xxx start, create a .bat or .sh on the system and put that command it in.
You can of course log to a file as well. Then have the nexec probe call the script you created (locally) on the Windows/UNIX system.
You can use a simple command, something like this as a test.
Create a new file called demo.sh using a text editor such as vi in Linux-> demo.sh
Add the following code:
echo "Hello World"
Set the script executable permission by running chmod command in Linux: chmod +x demo.sh or just use chmod 755 demo.sh
Execute the shell script in Linux: ./demo.sh to make sure it runs.
Use that script in your nexec configuration. Make sure that the shell script is stored and referenced locally.
nexec guide attached.