SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
collecting a web report

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
collecting a web report
Author Message
ahill



Joined: 02 Mar 2005
Posts: 17

Post collecting a web report Reply with quote

hello,

I am trying to run a report that we run from a browser
"http:\\vpm-iis1\VPMWEB\forms\Processing\P_BatchReporting.asp?cLogin=XXX&cPassword=XXX&CEPCode=VPM&cmbbphid=4&htxtRun=True&chkViewPrcs=on
It takes about 4 minutes to run.

I have tried run it as a program with
"c:\Program Files\Internet Explorer\IEXPLORE.EXE" "http:\\vpm-iis1\VPMWEB\forms\Processing\P_BatchReporting.asp?cLogin=XXX&cPassword=XXX&CEPCode=VPM&cmbbphid=4&htxtRun=True&chkViewPrcs=on"
but it error out and complains about ""c"\Program..
so I changes the inout to
c:\Program Files\Internet Explorer\IEXPLORE.EXE" "http:\\vpm-iis1\VPMWEB\forms\Processing\P_BatchReporting.asp?cLogin=XXX&cPassword=XXX&CEPCode=VPM&cmbbphid=4&htxtRun=True&chkViewPrcs=on
or
\"c:\Program Files\Internet Explorer\IEXPLORE.EXE\" \"http:\\vpm-iis1\VPMWEB\forms\Processing\P_BatchReporting.asp?cLogin=XXX&cPassword=XXX&CEPCode=VPM&cmbbphid=4&htxtRun=True&chkViewPrcs=on\"
but receive an error these as well

I have this running fine in MS Scheduler, but I would like to tie it to other jobs and need ot add it to 24x7?
Do I have the wrong syntax?
Any Ideas?

Sun Mar 06, 2005 5:15 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7974

Post Re: collecting a web report Reply with quote

1 you can simply specify the complete URL as the job command line. Because of spaces you will need to enclose the whole command in double quotes.
However, doing so will leave the IE instance open every time you run the job. After 10 runs you would get 10 IE windows. A much more efficient method is to use a JAL script job calling WebGetFile or WebGetPageHTML command to run the web page. For more info see corresponding examples n the on-line help file

: hello,

: I am trying to run a report that we run from a browser
:
: "http:\\vpm-iis1\VPMWEB\forms\Processing\P_BatchReporting.asp?cLogin=XXX&cPassword=XXX&CEPCode=VPM&cmbbphid=4&htxtRun=True&chkViewPrcs=on
: It takes about 4 minutes to run.

: I have tried run it as a program with
: "c:\Program Files\Internet Explorer\IEXPLORE.EXE"
: "http:\\vpm-iis1\VPMWEB\forms\Processing\P_BatchReporting.asp?cLogin=XXX&cPassword=XXX&CEPCode=VPM&cmbbphid=4&htxtRun=True&chkViewPrcs=on"
: but it error out and complains about ""c"\Program..
: so I changes the inout to
: c:\Program Files\Internet Explorer\IEXPLORE.EXE"
: "http:\\vpm-iis1\VPMWEB\forms\Processing\P_BatchReporting.asp?cLogin=XXX&cPassword=XXX&CEPCode=VPM&cmbbphid=4&htxtRun=True&chkViewPrcs=on
: or
: \"c:\Program Files\Internet Explorer\IEXPLORE.EXE\"
: \"http:\\vpm-iis1\VPMWEB\forms\Processing\P_BatchReporting.asp?cLogin=XXX&cPassword=XXX&CEPCode=VPM&cmbbphid=4&htxtRun=True&chkViewPrcs=on\"
: but receive an error these as well

: I have this running fine in MS Scheduler, but I would like to tie it to other
: jobs and need ot add it to 24x7?
: Do I have the wrong syntax?
: Any Ideas?

Mon Mar 07, 2005 12:48 pm View user's profile Send private message
ahill



Joined: 02 Mar 2005
Posts: 17

Post Re: collecting a web report Reply with quote

Thanks
but the browser is still left open if I use the WebOpenPage url, how do I close it?

: 1 you can simply specify the complete URL as the job command line. Because of
: spaces you will need to enclose the whole command in double quotes.
: However, doing so will leave the IE instance open every time you run the job.
: After 10 runs you would get 10 IE windows. A much more efficient method is
: to use a JAL script job calling WebGetFile or WebGetPageHTML command to
: run the web page. For more info see corresponding examples n the on-line
: help file

Fri Mar 11, 2005 11:22 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7974

Post Re: collecting a web report Reply with quote

Indeed WebOpenPage does start the browser just like if you run it manually and then enter the URL. Of course you can do some fancy stuff with searching the browser window WindowFind and closing it WindowClose but you would never know for sure how long to wait before closing that window.

That's why I specifically warmed you not to use it and instead use either WebGetFile or WebGetPageHTML. Both of these are autonomous and don't open web browser.

: Thanks
: but the browser is still left open if I use the WebOpenPage url, how do I
: close it?

Fri Mar 11, 2005 11:36 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.