Cron status diagnostic
Microsoft.AIX.6.1.Process.Cron.Diagnostic (Diagnostic)
Element properties:
Member Modules:
Source Code:
<Diagnostic ID="Microsoft.AIX.6.1.Process.Cron.Diagnostic" Accessibility="Public" Enabled="true" Target="Microsoft.AIX.6.1.OperatingSystem" Monitor="Microsoft.AIX.6.1.Process.Cron.Monitor" ExecuteOnState="Error" Remotable="true" Timeout="300">
<Category>Maintenance</Category>
<ProbeAction ID="ExecuteCommand" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.ProbeAction">
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
<Selector/>
<InvokeAction>ExecuteCommand</InvokeAction>
<Input><p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"><p:command>/bin/sh -c 'ps -ef|grep cron|grep -v grep'</p:command><p:timeout>60</p:timeout></p:ExecuteCommand_INPUT></Input>
</ProbeAction>
</Diagnostic>