Patent ID: 7979864

Claim:
A job management apparatus comprising: a computer processor, wherein the computer processor is programmed to function as: a detection section that detects a number of unused licenses; a determination section that determines whether or not the number of unused licenses detected by the detection section is sufficient to cover a number of licenses necessary for execution of a first job to be executed, wherein the first job includes a number of central processing units (CPUs) to execute the first job, a priority rank assigned to the first job, and a type of job assigned to the first job, the type of the first job includes any one of a static analysis job and a dynamic analysis job, wherein the number of licenses necessary for execution of the first job being determined based on the number of CPUs to execute the first job and the type of the first job; a job control section that sets a used license that is used by a second job into an unused state, in which a priority rank assigned to the second job is lower than the priority rank assigned to the first job, when the determination section determines that the number of unused licenses is not sufficient to cover the number of licenses necessary for execution of the first job to be executed, said job control section allocates the used license being set into the unused state from the second job to the first job; and wherein, when the first job is kept executed continuously for a predetermined time period or more, the job control section suspends execution of the first job, changes the predetermined priority rank assigned to the first job to a lower priority rank, sets the first job into an execution waiting state, and allows another job to execute.