SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
How to create an asp job?

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
How to create an asp job?
Author Message
Y.H. Duan



Joined: 12 Jun 2000
Posts: 13

Post How to create an asp job? Reply with quote

This is my steps:
File->New->Job->Run program or document file(Next)->Command Line(I try three ways here: 1.job.asp 2. WebGetFile job.asp 3. "WebGetFile job.asp").
It doesn't work. What's the problem?
Thanks.

Fri Jun 08, 2001 8:15 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: How to create an asp job? Reply with quote

WebGetFile can be used in script type jobs only. For more details please see "WebGetFile" topic in the online help, click the "Example" button in this topic to see the example script using WebGetFile.

For a quick start, create new job using "Execute ASP or CGI file on Web server" job template. The script will be automatically generated for you.

: This is my steps: File->New->Job->Run program or document
: file(Next)->Command Line(I try three ways here: 1.job.asp 2. WebGetFile
: job.asp 3. "WebGetFile job.asp").
: It doesn't work. What's the problem?
: Thanks.

Fri Jun 08, 2001 9:09 pm View user's profile Send private message
Y.H.Duan



Joined: 13 Jun 2000
Posts: 6

Post Re: How to create an asp job? Reply with quote

I still can't figure it out. I used WebGetFile("http://168.223.3.105/sstest/emp_job1.asp";, &
"ppsWEB") in the sutomation script,but it didn't work, and then I used "Execute ASP or CGI file on Web server" job template(I put the urlin1 and keep 2 blank),it still didn't work. It worked fine in v2.4.
What I mean is that the job ran, but didn't do what I want. My asp file queries a database and sends emails to different people.

: WebGetFile can be used in script type jobs only. For more details please see
: "WebGetFile" topic in the online help, click the
: "Example" button in this topic to see the example script using
: WebGetFile.

: For a quick start, create new job using "Execute ASP or CGI file on Web
: server" job template. The script will be automatically generated for
: you.

Sat Jun 09, 2001 12:02 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: How to create an asp job? Reply with quote

It did'n work in the first case because you had a syntax error in the script
. To make it work, remove ";"

It didn't work in the second case because second parameter is not optional and cannot be blank. Even if you don't use the result file, you still have to specify the file name. If you don't need that file you can delete it after all.

Here is a valid example:
WebGetFile("http://168.223.3.105/sstest/emp_job1.asp";, &

"c:\\temp\\ppsWEB.htm")

: I still can't figure it out. I used WebGetFile("
: http://168.223.3.105/sstest/emp_job1.asp"; ;, &
: "ppsWEB") in the sutomation script,but it didn't work, and then I
: used "Execute ASP or CGI file on Web server" job template(I put
: the urlin1 and keep 2 blank),it still didn't work. It worked fine in v2.4.
: What I mean is that the job ran, but didn't do what I want. My asp file
: queries a database and sends emails to different people.

Mon Jun 11, 2001 8:35 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.