Recent file available

Dear,

Require a script to check :

If the file under /opt/OV/log directory has recent 5 hours(or user defined value) file generated or not
If generated then cmd to call :
opcmsg a=a o=o msg_grp=OpC msg_text="Log file didn't generated on $time" s=critical

  1. Use code tags when posting code, data or logs, thanks.
  2. Show what you have tried so far, thanks.