From: Ritu S. <ri...@hp...> - 2007-02-19 11:40:35
|
Hello Ambika, There is a IF construct available in SF language that works at language level. You can transfer the file to the respective node using ftp/scp component and then execute it in the shell. Thanks & Regards, Ritu. Ambika Awanty wrote: > > Hi All, > Can any one tell me how to write following logic in cmd field of > RunShellScripts ? > if [ -s /tmp/list ] > then > echo "Not empty" > else > echo "Empty" > fi > I cant write this in a file and execute that file in shell, because i > want to deploy this component in another node, where this file wont be > available. > Thanks and Regards, > ambika > > ------------------------------------------------------------------------ > Here’s a new way to find what you're looking for - Yahoo! Answers > <http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/> > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >------------------------------------------------------------------------ > >_______________________________________________ >Smartfrog-developer mailing list >Sma...@li... >https://lists.sourceforge.net/lists/listinfo/smartfrog-developer > > |