Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LS command will not work when passed through a task

Status
Not open for further replies.

nm9204

Technical User
Feb 11, 2003
12
GB
hope you can help,

I have a problem in a shell script with an LS command,
The LS cmd will look across the network
when i run it from a CLI window it runs fine.
when i run it from the Tivoli task, it fails!

The command in the script is,
for x in $deldumps
do
ls \\\\$x/c$/winnt/memory.dmp
done

I have put a (set -x) in the script to see whats going on, and it comes back with [ 0 = 0 ] when run from CLI window, and [ 1 = 0 ] when run from a tivoli task!

can any one help

nigel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top