Reducing Priority of Scheduled Tasks via Start?

M

metremeter

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
 
P

Pegasus \(MVP\)

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.
 
M

metremeter

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top