Previous Topic: Specifying the Command or Script Name Using an Environment VariableNext Topic: Running a Script Under a Specific User's Account


Set a UNIX Job's Process Priority

You can set a UNIX job’s process priority. Process priority determines the order in which processes are scheduled on the processor. Depending on the priority level, process priority can speed up or slow down a process.

Note: You can only set a UNIX job’s process priority to a level above normal if the job runs on a computer with the agent started by the root account. If the agent is not started by root and you set the process priority to a level above normal, the job runs with the normal process priority.

To set a UNIX job’s process priority, specify the priority level using the PROCESS_PRIORITY statement in the job definition.

Example: Set the Process Priority for a UNIX Job

This example sets the process priority for a UNIX job to ABOVE_NORMAL:

AGENT LINUXAG
SCRIPTNAME /payroll/sort
PROCESS_PRIORITY ABOVE_NORMAL