I have a script in TC shell, for some reason its not working.
I'm trying to kick off a script if there are any files in a particular directory "/sample/test3"
Can anyone point out the issue in the same
if ls /sample/test3 >& /dev/null ; then /sample/app_code/run/initiateLoad.sh ; endif
The path /sample/test3 contains files so the if condition should have been successful and should have started the shell script, but its not happening.