How to query for status of "Scheduled Jobs" in ClearCase?
I have setup several custom scheduled jobs in my ClearCase Task Scheduler, these开发者_运维百科 jobs are supposed to do automated sync and we usually have no problem with them.
Occasionally the jobs might fail, and I am looking for a CLI way of querying the status of these scheduled jobs and generate a basic report.
Is there such a CLI utility?
The cleartool schedule
presented in Viewing job properties seems complete enough:
To view messages and information such as time and status from the last execution of the job, use this command:
cleartool schedule –status job-id-or-name
These commands display properties of jobs by using the job-definition syntax documented on the schedule reference page.
精彩评论