Process Dependencies


When JAMS allows you to make your jobs dependent upon a number of factors. Such as, Is that mission critical process running?

You can easily create a PowerShell job to test a wide array of conditions, for example:


$ProcessName = "abcxyz"

Get-Process -name $ProcessName


If the process cannot be found, the job will fail:

NoProcessFoundForGivenName,Microsoft.PowerShell.Commands.GetProcessCommand
Cannot find a process with the name 'abcxyz'. Verify the process name and call the cmdlet again. 


Posted Wednesday, June 24, 2009 by DanielS
http://www.jamssupport.com/KnowledgebaseArticle50026.aspx