SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
SCRIPT Property inside of createjob Function

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
SCRIPT Property inside of createjob Function
Author Message
George



Joined: 14 Dec 2000
Posts: 11

Post SCRIPT Property inside of createjob Function Reply with quote

Hi, there.
Another one to look at, if you can:
SCRIPT Property inside of createjob Function within Java APIs does not work. You can not assign any value to it. The way around is to sue the setjobproperty after the initial call with createjob.

But this one puts extra load into the whole process, because 24x7 Scheduler saves database after every call within remote Java APIs. So, you scheduler will be busy and all other jobs will be waiting if somebody tries to create few jobs remotely and set different properties separately by calling setjobproperty function.

Cheers,
George

Wed Dec 27, 2000 1:29 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: SCRIPT Property inside of createjob Function Reply with quote

That's correct behavior. The SCRIPT property cannot be used with the createjob.
The script is expected in the [SCRIPT] section and as an INI key. Please see job templates for jobs of script type. Look for example at event_log_monitor.ini template

: Hi, there.
: Another one to look at, if you can: SCRIPT Property inside of createjob
: Function within Java APIs does not work. You can not assign any value to
: it. The way around is to sue the setjobproperty after the initial call
: with createjob.

: But this one puts extra load into the whole process, because 24x7 Scheduler
: saves database after every call within remote Java APIs. So, you scheduler
: will be busy and all other jobs will be waiting if somebody tries to
: create few jobs remotely and set different properties separately by
: calling setjobproperty function.

: Cheers,
: George

Wed Dec 27, 2000 10:04 am View user's profile Send private message
George



Joined: 14 Dec 2000
Posts: 11

Post Re: SCRIPT Property inside of createjob Function Reply with quote

Correct me if I am wrong, but if you're creating WEB GUI inside of other program, then you create the script dynamically from the values posted from the form. And if it's a complex script and behaviour, there is NO way that you can predefine the script files for every combination. And, as a personal opinion, it's probably wrong, since it's not dynamic any more.

I guess the question rising from here is: "Is there an API for GUI or WEB based basic Front End for 24x7, like Applet or small Java program, which can be downloaded into the client browser?"

Thanks,
George

: That's correct behavior. The SCRIPT property cannot be used with the
: createjob.
: The script is expected in the [SCRIPT] section and as an INI key. Please see
: job templates for jobs of script type. Look for example at
: event_log_monitor.ini template

Tue Jan 02, 2001 1:21 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: SCRIPT Property inside of createjob Function Reply with quote

The Web form is not dynamic, is it?
You can prepare a template with some value holders within the template text then plug in data entered to the form by doing simple text replace operations.
Is that simple?

Sample client side and server side Java applets are in the works. They should be available in the new version.

: Correct me if I am wrong, but if you're creating WEB GUI inside of other
: program, then you create the script dynamically from the values posted
: from the form. And if it's a complex script and behaviour, there is NO way
: that you can predefine the script files for every combination. And, as a
: personal opinion, it's probably wrong, since it's not dynamic any more.

: I guess the question rising from here is: "Is there an API for GUI or
: WEB based basic Front End for 24x7, like Applet or small Java program,
: which can be downloaded into the client browser?"

: Thanks,
: George

Tue Jan 02, 2001 8:59 am View user's profile Send private message
George



Joined: 14 Dec 2000
Posts: 11

Post Re: SCRIPT Property inside of createjob Function Reply with quote

First answer: YES
Second: YES
Third: This is what we were and are looking for!! Excellent!!

: The Web form is not dynamic, is it?
: You can prepare a template with some value holders within the template text
: then plug in data entered to the form by doing simple text replace
: operations.
: Is that simple?

: Sample client side and server side Java applets are in the works. They should
: be available in the new version.

Fri Jan 05, 2001 1:57 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.