SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Job dying

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Job dying
Author Message
Kevin H



Joined: 04 Oct 2004
Posts: 13

Post Job dying Reply with quote

Hi,

I got a funny situation. I have a job scheduled, and it runs, but it stops working half way through. However, when I run it through the debug, it finishes no problem.
Why would this be happening?

I've also got jobs that don't fire off even though I have them scheduled. I've triple-checked these jobs many times, and I don't understand why they aren't firing off at all.
I'm controlling the server which runs 24x7 through Remote Desktop (Term Services). Some other people may also be logged onto the server though term services (although not using 24x7 program). Could this cause any problems?

Thanks!

Wed Nov 17, 2004 12:45 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: Job dying Reply with quote

Two things come to mind that could the different between normal run and debugging:

1. Timing. If in debugging you do it step-by-step your give your processes more time because of the pauses.
2. The debugger runs your job in the foreground, the normal mode runs it in the background. If you start poorly written processes requiring full access to the Desktop then you may have a difficult time running them in the background.

Regarding usage of the Terminal Services. The nature and purpose of the Terminal Server is to provide multiple virtual terminal physically hosted on the same computer. Unless you login in exclusive mode as a system admin, your virtual session is suspended or closed completely after timeout when you logout. If this is the case, no scheduled processes will run after you logout. Either login exclusive and install 24x7 as a system service running under LocalSystem account or even much better do not use Terminal Services to install, configure and control "always-up" processes. With Terminal Services you will have hard time scheduling jobs.

: Hi,

: I got a funny situation. I have a job scheduled, and it runs, but it stops
: working half way through. However, when I run it through the debug, it
: finishes no problem.
: Why would this be happening?

: I've also got jobs that don't fire off even though I have them scheduled.
: I've triple-checked these jobs many times, and I don't understand why they
: aren't firing off at all.
: I'm controlling the server which runs 24x7 through Remote Desktop (Term
: Services). Some other people may also be logged onto the server though
: term services (although not using 24x7 program). Could this cause any
: problems?

: Thanks!

Wed Nov 17, 2004 1:35 pm View user's profile Send private message
Kevin H



Joined: 04 Oct 2004
Posts: 13

Post Re: Job dying Reply with quote

I started running VNC on the server with 24x7 instead of using Terminal Server, and the jobs are running ok now.
Thanks for the suggestion!

: Two things come to mind that could the different between normal run and
: debugging: 1. Timing. If in debugging you do it step-by-step your give
: your processes more time because of the pauses.
: 2. The debugger runs your job in the foreground, the normal mode runs it in
: the background. If you start poorly written processes requiring full
: access to the Desktop then you may have a difficult time running them in
: the background.

: Regarding usage of the Terminal Services. The nature and purpose of the
: Terminal Server is to provide multiple virtual terminal physically hosted
: on the same computer. Unless you login in exclusive mode as a system
: admin, your virtual session is suspended or closed completely after
: timeout when you logout. If this is the case, no scheduled processes will
: run after you logout. Either login exclusive and install 24x7 as a system
: service running under LocalSystem account or even much better do not use
: Terminal Services to install, configure and control "always-up"
: processes. With Terminal Services you will have hard time scheduling jobs.

Mon Nov 22, 2004 3:30 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.