1 Reply Latest reply: Feb 24, 2011 3:34 AM by Leonid B. (Boguslavsky) RSS

batchrun with scriptname in transaction log? traceability in batchruns?

bmcnoob

Hi

 

We run a lot cronjobs with UNIX script, which generates batchrun and executes them. In transaction log you see only that the batch is executed by ess owner.

 

We have sometimes complaints, why is my group XX disconnected by ess owner with batchrun. We need to answer we don't know.

 

Is it possible to add a comment in transaction log (for example script name)? How you handle this issue?

  • 1. batchrun with scriptname in transaction log? traceability in batchruns?
    Leonid B. (Boguslavsky)

    Hi bmcnoob,

     

    As it always possible with CTSA, you can use few approaches, depends on your implementation and maintenance needs. Such as:

     

    1. if batchrun command issued by cronjob cause for transaction creation, you get transaction number in batchrun output, and then can update field remarks in the same transaction record with neccessary information.

     

    2. it seems you currently execute batchrun in your scripts in ESS owner security context (using -A option). You can extend it using option -N <any_ess_admin> and create for such needs different ESS admins (say - having its ESS login name as cronjob script name). Moreover - you can permissions of those admins by access rules so they will be limited for only relevant tasks.

     

    3. you can use site_table in ESS repository or some non-ESS table to register all details for such actions from the same script...

     

    4. ???

     

    Hope one or combination from above can help...

     

    Regards,

    Leonid (B.)