Challenging task : script for mailing process completion timing report to users.

Hi all,

This is my first post.
I am new to unix scripting.

My requirement is as follows :

We are using a financial backoffice application.
Now at the end of day we have send users a status report stating all timings of EOD processes for all countries.

I need timings for following :

  1. Timings of file generation for countries.
  2. EOD process start time AND end time - This we take by logging to unix .then accessing the backoffice application and then we make some option choices to get elapsed times.
    But these timings are dynamic.
  3. Once the files for all countries reach our server ,they are sftp to dstination server .We receive a mail in outlook regarding the timing when files reach these servers.we need to write these timings in this report and send it to users.

Are there any suggestion on how this complicated task can be accomplished.
please help if you have experience on the same task .
contact for any concerns.