SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Windows 2000 Shortcut

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Windows 2000 Shortcut
Author Message
Reggie Laffond



Joined: 28 Sep 2000
Posts: 7

Post Windows 2000 Shortcut Reply with quote

I have .BAT file that I run with a RUNANDWAIT
statement. Sometimes it "freezes" and hangs up the
scheduler preventing other jobs from running. I
believe it is a memory problem. Windows 2000 allows
you to create a shortcut with a "run in separate
memory space" option.

I can't determine how to or if I can execute a
Windows shortcut with RUNANDWAIT. 24x7 "HELP" states
that the file type can be COM, BAT, EXE, or any
registered extension. A shortcut typically doesn't
have an extension but if I put an EXE extension on
it 24x7 gives a message box that it can't find the
specified file.

Anyone have suggestions or comments?

Mon Mar 10, 2003 1:49 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: Windows 2000 Shortcut Reply with quote

Set the job properties to run "detached." This is virtually the same as running it in a separate memory space.
Also if you assign this job to a separate job queue or set it to run "asynchronous" you can avoid the situation when the job hanging stops other job processing even in caeses when the job hangs.

: I have .BAT file that I run with a RUNANDWAIT
: statement. Sometimes it "freezes" and hangs up the
: scheduler preventing other jobs from running. I
: believe it is a memory problem. Windows 2000 allows
: you to create a shortcut with a "run in separate
: memory space" option.

: I can't determine how to or if I can execute a
: Windows shortcut with RUNANDWAIT. 24x7 "HELP" states
: that the file type can be COM, BAT, EXE, or any
: registered extension. A shortcut typically doesn't
: have an extension but if I put an EXE extension on
: it 24x7 gives a message box that it can't find the
: specified file.

: Anyone have suggestions or comments?

Mon Mar 10, 2003 2:15 pm View user's profile Send private message
MTaggart



Joined: 20 Jun 2002
Posts: 23

Post Re: Windows 2000 Shortcut Reply with quote

: Set the job properties to run "detached." This is virtually the
: same as running it in a separate memory space.
: Also if you assign this job to a separate job queue or set it to run
: "asynchronous" you can avoid the situation when the job hanging
: stops other job processing even in caeses when the job hangs.

I have encountered the same thing. I use runandwait to execute an xcopy
statement. Occassionally, it will lock up. I look at task manager and
xcopy is not even listed. However, when it works properly, I see the
xcopy process listed as expected. 2 questions: 1. How can we make this
problem go away? 2. Is there a way to change the windows to be minimized?

THanks!

Wed Apr 30, 2003 12:39 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: Windows 2000 Shortcut Reply with quote

How do you run XCOPY or your batch file?

I suggest to try

cmd /c xcopy [the rest of parameters here]

: I have encountered the same thing. I use runandwait to execute an xcopy
: statement. Occassionally, it will lock up. I look at task manager and
: xcopy is not even listed. However, when it works properly, I see the
: xcopy process listed as expected. 2 questions: 1. How can we make this
: problem go away? 2. Is there a way to change the windows to be minimized?

: THanks!

Wed Apr 30, 2003 3:15 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.