ok Sure. Actually, we are using Control M jobs to run this script on every hour. By using this script, we are trying to get the time information of the jobs in a day. For example,
Job 1 runs on 9 am est,
Job 2 runs on 10 am est,
job 3 runs on 10.15 am est.
I have written the script to get the timing of those Control M jobs. this script is running on every hour to get the information. If I am running this script at morning 9 am est, it will send the time for job 1. the rest of the jobs not yet completed. again, I am running the same perl script on 10 am est, at that time job 2 completed and send the both job 1 and 2 information. again, I am running the script at 11 am est, it will return the information for Job 1, 2 and 3 as well. So, all jobs are completed and I received the enough information from my perl script. But, here the perl script will run on 12 pm est also. at that time, it will send those 3 jobs information again(Job 1, job 2 and job 3). I don't need the information from 12 pm est. Here, I can't schedule the job till 11 am only. why because, these jobs(job 1, 2 and 3) may extend more than 12 pm est also. We are not sure about when it will be complete. Once the consolidated information from those three jobs(job 1, 2 and 3), I should trigger a mail at till first time of all information. 2nd time onwards I don't need any information for the day. Please advise me on this.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.