SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
External jobs

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
External jobs
Author Message
Eugene



Joined: 29 Dec 2003
Posts: 11

Post External jobs Reply with quote

We have external job, which should create semaphore file
when it finished. It works perfectly in case when this
job is scheduled for some time (I mean if it should start
at 13.30 and it takes 5 minutes to run this job, semaphore file
would be created at 13.35), but when we run this job from command line
(as 24X7.EXE /JOB jobid) it finishes in seconds not waiting for external
job to be finished and creates semaphore file immediately.
For us is really important to run job from command line and have semaphore file
only when the external job is really finishes, is it possible?

Thanks,

Eugene

Tue Dec 30, 2003 9:07 am View user's profile Send private message
Eugene



Joined: 29 Dec 2003
Posts: 11

Post Re: External jobs Reply with quote

External executable file is called in both cases
and in both cases works fine.
The problem is when we call job from command line,
24x7 starts external job and than creates semaphore file
immediately, not waiting for this external job to be finished
(though there are no errors and executable file finishes
later fine, but we need 24x7 to wait with creating semaphore
to the moment when job really done)

: The job should run exactly the same in both modes. What does it do? Why does
: it finish much faster from command line? Any related errors or warning
: reported in the job log?

Tue Dec 30, 2003 9:15 am View user's profile Send private message
Eugene



Joined: 29 Dec 2003
Posts: 11

Post Re: External jobs Reply with quote

External executable file is called in both cases
and in both cases works fine.
The problem is when we call job from command line,
24x7 starts external job and than creates semaphore file
immediately, not waiting for this external job to be finished
(though there are no errors and executable file finishes
later fine, but we need 24x7 to wait with creating semaphore
to the moment when job really done)

: The job should run exactly the same in both modes. What does it do? Why does
: it finish much faster from command line? Any related errors or warning
: reported in the job log?

Tue Dec 30, 2003 9:38 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: External jobs Reply with quote

Set the job to run synchronous. This will cause it to wait for the external process to complete before doing anything else.

: External executable file is called in both cases
: and in both cases works fine.
: The problem is when we call job from command line,
: 24x7 starts external job and than creates semaphore file
: immediately, not waiting for this external job to be finished
: (though there are no errors and executable file finishes
: later fine, but we need 24x7 to wait with creating semaphore
: to the moment when job really done)

Tue Dec 30, 2003 9:40 am View user's profile Send private message
Eugene



Joined: 29 Dec 2003
Posts: 11

Post Re: External jobs Reply with quote

External executable file is called in both cases
and in both cases works fine.
The problem is when we call job from command line,
24x7 starts external job and than creates semaphore file
immediately, not waiting for this external job to be finished
(though there are no errors and executable file finishes
later fine, but we need 24x7 to wait with creating semaphore
to the moment when job really done)

: The job should run exactly the same in both modes. What does it do? Why does
: it finish much faster from command line? Any related errors or warning
: reported in the job log?

Tue Dec 30, 2003 9:40 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: External jobs Reply with quote

Please see my comments in the previous message thread.

: We have external job, which should create semaphore file
: when it finished. It works perfectly in case when this
: job is scheduled for some time (I mean if it should start
: at 13.30 and it takes 5 minutes to run this job, semaphore file
: would be created at 13.35), but when we run this job from command line
: (as 24X7.EXE /JOB jobid) it finishes in seconds not waiting for external
: job to be finished and creates semaphore file immediately.
: For us is really important to run job from command line and have semaphore
: file
: only when the external job is really finishes, is it possible?

: Thanks,

: Eugene

Tue Dec 30, 2003 9:41 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.