SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Global Variables won't initialize

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Global Variables won't initialize
Author Message
Reto



Joined: 14 Jan 2003
Posts: 16

Post Global Variables won't initialize Reply with quote

I have set up a script, where I define all
global variables, that are referenced in all scripts.
This script is launched when 24x7 starts.

My global variables won't initialize unless I start
this job manually. The job is successfully tested.
I intend to run 24x7 as a service. What am I doing wrong?

Mon Jan 20, 2003 9:49 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Global Variables won't initialize Reply with quote

Are you sure your script really runs? Check the job log. Also make sure the job does not run detached. Deatched jobs do not have access to shared global varibles.

By the way, it is not require to init global variables in one script

If you have a Dim statement for a global variable in some script that runs after this global variable is already defined, the statement is simply ignored, otherwise the variable is allocated and initialized.

: I have set up a script, where I define all
: global variables, that are referenced in all scripts.
: This script is launched when 24x7 starts.

: My global variables won't initialize unless I start
: this job manually. The job is successfully tested.
: I intend to run 24x7 as a service. What am I doing wrong?

Mon Jan 20, 2003 12:00 pm 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.