Jump to content

Reducing Priority of Scheduled Tasks via Start?


Recommended Posts

Guest metremeter@yahoo.co.uk
Posted

Hi,

 

I have certain scheduled tasks running on my work machine. They often

hog the processor causing my machine to become unresponsive to the

point of almost locking up.

 

I'd like to run them at lower priority using the start command (either

"start /belownormal" or "start /low"), but this doesn't seem to work.

Typing this at the command line:-

 

start /belownormal Y:\Vim\vim62\gvim.exe

 

seems to run it fine, but if I put the same thing in the "run" line of

a scheduled task's properties window, it says "could not start" in

Scheduled Tasks' status column.

 

Any thoughts? Thanks,

 

- MM

  • Replies 2
  • Created
  • Last Reply
Guest Pegasus \(MVP\)
Posted

Re: Reducing Priority of Scheduled Tasks via Start?

 

 

<metremeter@yahoo.co.uk> wrote in message

news:50b6b0a3-8782-48dd-8f7f-0bddc0771cdf@p25g2000hsf.googlegroups.com...

> Hi,

>

> I have certain scheduled tasks running on my work machine. They often

> hog the processor causing my machine to become unresponsive to the

> point of almost locking up.

>

> I'd like to run them at lower priority using the start command (either

> "start /belownormal" or "start /low"), but this doesn't seem to work.

> Typing this at the command line:-

>

> start /belownormal Y:\Vim\vim62\gvim.exe

>

> seems to run it fine, but if I put the same thing in the "run" line of

> a scheduled task's properties window, it says "could not start" in

> Scheduled Tasks' status column.

>

> Any thoughts? Thanks,

>

> - MM

 

This happens because "start" is not an external command. It is a command

internal to the command processor cmd.exe, same as cd, del, copy. You must

therefore precede it with cmd.exe:

cmd /c start /belownormal ... ...

Whether this will work in reducing the priority of the scheduled task I do

not know.

Guest metremeter@yahoo.co.uk
Posted

Re: Reducing Priority of Scheduled Tasks via Start?

 

On 11 Sep, 23:17, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:

> This happens because "start" is not an external command. It is a command

> internal to the command processor cmd.exe, same as cd, del, copy. You must

> therefore precede it with cmd.exe:

> cmd /c start /belownormal ... ...

> Whether this will work in reducing the priority of the scheduled task I do

> not know.

 

Aah, I see... doh! I should have thought of that... thanks. :)

 

- MM


×
×
  • Create New...