Consultor Eletrônico



Kbase P169922: Self Service client launched by Windows Task Scheduler runs much slower than same job started outsid
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/15/2010
Status: Unverified

SYMPTOM(s):

Self Service client launched by Windows Task Scheduler runs much slower than same job started outside of Task Scheduler.

OpenEdge process launched by Windows Task Scheduler making a client server connection runs faster than shared memory connection launched from Task Scheduler.

Jobs launched outside of Task Scheduler run at normal priority and run at normally expected speeds.

Process Explorer (from www.sysinternals.com) used to verify priority level by right mouse clicking the process and selecting properties and viewing the performance tab.

FACT(s) (Environment):

Windows Vista
Windows 7
Windows Server 2008
Progress/OpenEdge Product Family

CHANGE:

Migrated from Windows 2003 to Windows 2008.

CAUSE:

Changes to the core code of Windows Vista and Windows 2008 as well as Windows 2008 R2 change the way Task Scheduler operates.
Task Scheduler is now programmed to decrease the priority of any jobs run from Task Scheduler to below normal values for I/O, CPU and Memory operations.

FIX:

To change the priority of a task defined within the Microsoft Task Scheduler 2.0
Export the task (right mouse click the task and save the task as an XML file)
Edit the export XML and modify the Priority value which is defaulted to 7.
Set it to 5 which is the normal value.
Save the edited XML file.
Delete the original task from Task Scheduler.
Import the task into Task Scheduler.