Hi
i have an script which execute for 1 hour and due to that other actions gets on hold and wait until for the first action to be completed if i execute script as run command option it execute the script regardless of the success / failure
Is there any option that i can capture if script completed or failed but should not hold the other action in the queue for single target machine.
createfile until end
#!/bin/sh
A='700'
B='687'
if [ $A -lt $B ]; then
echo "A is Less then B -pass" > "/tmp/compare.txt"
touch "/tmp/pass.txt"
else
sleep 120s
echo "A is Not Less then B -Fail " > "/tmp/compare.txt"
touch "/tmp/fail.txt"
fi
end
delete "/tmp/wait.sh"
move __createfile "/tmp/wait.sh"
wait sh "/tmp/wait.sh"
if {exists file "fail.txt" of folder "/tmp"}
exit 100
endif