I need to execute a job that will tell me if another job has ran OK in the past X days. I've tried these commands, all with different results:
ctmstats -list <FromDate> <ToDate> -JOBNAME "jobname"
This command found nothing
ctmruninf -list <FromDate> <ToDate> -JOBNAME "jobname"
This command returned today's execution only
Control-M Reporting using Job Execution template returned execution records for 10/3, 6, 7, 8 & 9.
Why didn't ctmstats & ctmruninf return all 5 records ? When I use "ctmstats -list "*" it goes back several weeks but does not appear that all my jobs are being listed.
Thanks