Re: TSM Client Log File Help
2002-04-25 14:57:57
OK, now in a unix environment, I'm thinking specifically of an AIX one, you
have the ability to create a .netrc file under an id such that it will
perform specific actions upon an ftp session being initiated to a specific
node. So I build scripts that do...
#!/bin/ksh
echo machine <some_remote_machine> > $HOME/.netrc
echo login <id_on_that_remote_machine> >> $HOME/.netrc
echo password <password_of_that_id_on_that_remote_machine> >> $HOME/.netrc
echo macdef init >> $HOME/.netrc
echo prompt off >> $HOME/.netrc
echo put /somepath/sched.log /somepath/$(hostname)$(date +%m%d%y)sched.log
>> $HOME/.netrc
echo bye >> $HOME/.netrc
chmod 600 $HOME/.netrc
ftp <some_remote_machine>
rm $HOME/.netrc
exit
so just have your postschedcommand run the above script...
Dwight E. Cook
Software Application Engineer III
Science Applications International Corporation
509 S. Boston Ave. Suit 220
Tulsa, Oklahoma 74103-4606
Office (918) 732-7109
|
|
|