I use wget (unix). create dirlink - a directory link (<1>F <2>/directory <3>D_SOURCE) execute 'sh -c "cd directory ; wget -O outfile URL"' ed dirlink outfile
Make outfile, the PID/USERNO for uniqueness and multiuser ability George > -----Original Message----- > From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2- > us...@listserver.u2ug.org] On Behalf Of Jeff Schasny > Sent: Friday, April 17, 2009 12:44 PM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] CallHTTP vs cURL... > > How about running a shell script from a cron job that retrieves > whatever > via cURL. > > David Wolverton wrote: > > I have a phantom that does a CallHTTP to 'call back' to our RedBack > server > > to run a Java Method that returns some data. Essentially, it's doing > a > > 'data read' - but with IBM's new 'drive for revenue', this command > now makes > > the Phantom into an iPhantom -- which defeats the reason we made it a > > phantom in the first place! It's a background 'monitor' process yet > now > > it's sucking up a 'full pay' seat... > > > > This CallHTTP is done 3 - 5x a day - but once it execute, the seat is > then > > gone until the phantom dies. > > > > This is just plain wrong -- if I could read this data locally, I > would - but > > since I cannot... I'm trying to weigh options on how to 'work around' > this > > issue and thought I'd see what others have done. > > > > 1) I could have the phantom 'PHANTOM' out another process to do ONLY > the > > CallHTTP, write the answer to a local 'file' and then 'die' - the > first > > phantom would just 'watch' that file for the result. The only > downside, > > we'd have to have a 'free seat' for the 3x a day it runs, and that's > not > > always going to be true. Hence the problem in the first place! > > > > 2) Find a way to 'trick' the application - like EXECUTE "!cURL..." -- > has > > anyone done this inside of a phantom? Does it work? More > importantly, does > > it go "iPhantom" in the process? > > > > I'm sort of perplexed on the iPhantom thing -- CallHTTP is just > another way > > to 'read data' from somewhere. I'm just not sure why they decided > this > > should ding a license. I could see if it was SERVING data - but > CallHTTP is > > 'getting' data - not 'serving' it... It just is an odd decision. If > we were > > opening a socket for read/write, again, I could *sort of* understand > making > > it iPhantom - but can CallHTTP really do 'server' work?? > > > > Thanks for any thoughts ... It's only $500, but it's the principle of > the > > thing here!! I'm trying to do something that to me LEGITIMATELY > should not > > consume a seat. > > > > David W. > > ------- > > u2-users mailing list > > u2-users@listserver.u2ug.org > > To unsubscribe please visit http://listserver.u2ug.org/ > > > > > > -- > ----------------------------------------------------------------------- > - > Jeff Schasny - Denver, Co, USA > jschasny at gmail dot com > ----------------------------------------------------------------------- > - > ------- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/