SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Problems with jobrun

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Problems with jobrun
Author Message
Jamie



Joined: 12 Jan 2004
Posts: 5

Post Problems with jobrun Reply with quote

I am having some problems with a job that uses
global variables. I am trying to start it from
another job as a detached asyncronous job. When
I run it from the other job I get an error
"Undefined variable", but when I run it with
the run now button it runs fine. In both cases
it is running async/detached. Could you explain
what the difference is between running from
another job and running using the run now button?
I really need this job to run async/detached and I
would like to run it from another scheduled job.
Thanks
Jamie

Mon Feb 23, 2004 5:44 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: Problems with jobrun Reply with quote

Detached jobs are run by a separate process and because of that they have no access to the memory of the main scheduler process. That's the main purpose of the detached option to separate these jobs from the main process.

In such cases use files instead of global variables because files can be accessed from any process.

"Run now" always runs jobs in the foreground, in the main process memory and always synchronous.

: I am having some problems with a job that uses
: global variables. I am trying to start it from
: another job as a detached asyncronous job. When
: I run it from the other job I get an error
: "Undefined variable", but when I run it with
: the run now button it runs fine. In both cases
: it is running async/detached. Could you explain
: what the difference is between running from
: another job and running using the run now button?
: I really need this job to run async/detached and I
: would like to run it from another scheduled job.
: Thanks
: Jamie

Mon Feb 23, 2004 7:20 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.