Dear All.
Currently I have list of job plans 'JOBP' running in Automic v12 all day but at 1 PM I have to send email with few job plans current status in below table format.
JOBP Name /Activate date/Current Status/Runtime.
I am using SEQ_SQL variable and using below query.
select
oh.oh_name,
ah.AH_TimeStamp1 as activation_time,
ah.AH_TimeStamp2 as start_time,
ah.AH_TimeStamp4 as end_time,
((ah.AH_TimeStamp4 - ah.AH_TimeStamp2)/24) as runtime_hour
from
uc4.oh oh, uc4.ah ah
where
oh.oh_idnr = oh.oh_idnr
and ah.ah_timestamp1 = SYSDATE
---------------------
The question is how shall I call this query into call object? using send email fuction in script?