Hi,
Am planning to get the failed jobs in particular time period . I need to get the job name and no of times it failed.
I used below query can some one please correct the query
SELECT JobDefinition, COUNT(JobDefinition) AS OCCURENCE from Job WHERE Status IN ('K','E') GROUP BY JobDefinition HAVING(COUNT(JobDefinition)>1)
I will get the job name from job definition later.
Also please help me how get the results using ExecuteQuery
Thanks in advance.
Ravi