Order time of a job

Everything about Control-M Enterprise Manager Server installation or setup.
Post Reply
User avatar
hraj1984
Nouveau
Nouveau
Posts: 3
Joined: 16 Dec 2011 12:00

Order time of a job

Post by hraj1984 » 16 Dec 2011 6:01

Hi,

Please let me know how can I find the order time of the job using the command line.
Thanks,

User avatar
nicolas_mulot
Nouveau
Nouveau
Posts: 149
Joined: 07 Jan 2010 12:00

Post by nicolas_mulot » 20 Dec 2011 8:43

hraj1984,

If you want an history, for example on a month, use the ctmlog utility, then filter the output by findstr or grep depending on the platform (MS/Win or Unix/Linux)

Example, to find and history of order time of job PFMJDE1010 on December 2011, use the following on Windows:

ctmlog list 20111201 0001 20111231 2359 | findstr "PFMJDE1010" | findstr " 5065 5407"

5065 is the log message for ordered jobs, 5407 is the log message for created jobs.

Cheers,
Nicolas Mulot

User avatar
hraj1984
Nouveau
Nouveau
Posts: 3
Joined: 16 Dec 2011 12:00

Post by hraj1984 » 09 Jan 2012 3:35

Hi Nicolas Mulot,

Thanks for your reply, let me explain what i am trying to get, if a job fails i am going to automate the rerun the job, but for dynamic jobs i need to check if that was ordered the same day or ealier. Hence i want to find the order time of the job.
Thanks.

Post Reply