SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Using 24x7 with ASP application

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Using 24x7 with ASP application
Author Message
Danny



Joined: 01 Aug 2002
Posts: 2

Post Using 24x7 with ASP application Reply with quote

We require a scheduling service to be integrated with our ASP/COM application and are looking at 24x7 as a possible solution.

Our application will allow users to schedule jobs such as the running of Crystal reports at pre-determined times.

1) Can we use the 24x7 API to create the scheduled tasks and then have the scheduler call an ASP page with the appropriate parameters in order to have the job executed?

2) Is there a scheduled task ID uniquely associated with a particular task which can be retrieved for storage in our own database and then passed to our ASP application at the time of job execution?

3) If this is feasible what components are needed and are there any royalty fees? Our application will be distributed commercially.

Thanks for any assistance.

Thu Aug 01, 2002 8:18 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Using 24x7 with ASP application Reply with quote

Please see my answers below

: We require a scheduling service to be integrated with our ASP/COM application
: and are looking at 24x7 as a possible solution.

: Our application will allow users to schedule jobs such as the running of
: Crystal reports at pre-determined times.

: 1) Can we use the 24x7 API to create the scheduled tasks and then have the
: scheduler call an ASP page with the appropriate parameters in order to
: have the job executed?

Yes, this can be done. Any job type (in other words task) can be created and scheduled using 24x7 COM or 24x7 Java API or even standard DDE

: 2) Is there a scheduled task ID uniquely associated with a particular task
: which can be retrieved for storage in our own database and then passed to
: our ASP application at the time of job execution?

Every job has and is guranteed to have a unique ID. Job ID is not re-used after a job is deleted. Job ID can be very easily passed to the ASP call
Example: "http://www.mysite.com/dir/page.asp&job_id=@V"job_id""
In job run-time 24x7 will substitute @V"job_id" part with the actual job id.

: 3) If this is feasible what components are needed and are there any royalty
: fees? Our application will be distributed commercially.

Depending on how you setup your application you may need to do different things and use different 24x7 components/configurations

Just a couple of examples:
A) Your application is Web based and you are going to install 24x7 on your web server providing your client with the access to the server. Your clients don't any 24x7 components as everything is done in one place. In this case you are talking about 1 site license for yourself (or as many site licenses as many "web server/24x7 server" installations you need)

B) Every client gets 24x7 Scheduler server installed in their office and they also get your application installed of their workstations. They would need 24x7 core files and 24x7 COM without icons installed on each participating workstations plus the main 24x7 server. Depending on the number of workstations they may need either a site license or a number of single licenses.

C), D), E) and other endless possibilities. Please call +1 (212) 747-0140 to discuss your requirements and found out about possible licensing and royalty fees

: Thanks for any assistance.

Thu Aug 01, 2002 10:59 pm View user's profile Send private message
Danny



Joined: 01 Aug 2002
Posts: 2

Post Re: Using 24x7 with ASP application Reply with quote

Thank you for your helpful response.

With regard to item 2, would it be possible to obtain the job ID from 24x7 when the scheduled task is created? That way, we can store it in our database and use it to identify the appropriate job when the event is triggered and our ASP page is called.

Thu Aug 01, 2002 11:25 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Using 24x7 with ASP application Reply with quote

Yes.

Here is a paragraph from the on-line documentation for 24x7 COM API

Long CreateJob ( String JobDefinition )

The CreateJob function creates new job and adds it to the active job pool.
Return: Job ID of the created job as a positive number or a negative number
if an error occurs. Use the LastError property to obtain error description.

: Thank you for your helpful response.

: With regard to item 2, would it be possible to obtain the job ID from 24x7
: when the scheduled task is created? That way, we can store it in our
: database and use it to identify the appropriate job when the event is
: triggered and our ASP page is called.

Fri Aug 02, 2002 8:18 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.