Hi Sharon,
Below is one way that I think this could be done. The first job just checks to see if the file exists. If it exists an UPDATE file trigger job is used. If it does not exist then a CREATE file trigger job is used. This appl would build at midnight. In the case below if the file hasn't been updated/created by 17.00 then it would trigger an alert and notify someone. We may want to have one job that runs at 23.59 and completes the appl.....then it will start fresh the next day.....
APPL ABC
FILE_TRIGGER TEST
AGENT DPU01
FILENAME /opt/data/aaaa.txt EXIST
RUN ANY
RELEASE ADD(UPDATE) COND(RC(0))
RELEASE ADD(CREATE) COND(RC(1))
ENDJOB
FILE_TRIGGER UPDATE
NOTIFY OVERDUE ALERT(LATE)
AGENT DPU01
FILENAME /opt/data/aaaa.txt UPDATE
RUN ANY
DUEOUT EXEC 17.00
ENDJOB
FILE_TRIGGER CREATE
NOTIFY OVERDUE ALERT(LATE)
AGENT DPU01
ESPNOMSG AJ TEST COMPLETE APPL(%ESPAPPL..%ESPAPGEN)
FILENAME /opt/data/aaaa.txt CREATE
RUN ANY
DUEOUT EXEC 17.00
ENDJOB
Original Message:
Sent: 09-19-2019 11:56 AM
From: Sharon Lancaster
Subject: File Monitoring
We have a requirement to look for let's say 10 files and if any of those 10 do not come in by a certain time then we need to send out a notification. The catch to this is the files have to have a create date of the current date. Looking for a good way in ESP to do this. Any ideas/suggestions?
Thank you,
Sharon
------------------------------
Sharon Lancaster
BB&T
NC
------------------------------