in reply to Re^2: Emergency: Need an assistance on this scenario
in thread Emergency: Need an assistance on this scenario

You can do things like watch for the running program to exit, have it touch a file on exit, or wait for the output file to stop being written. Then stat the file. The script that watches can send you the mtime so you know exactly when the output file was last written. If you don't care when you get the notification, you can stat the file any time.
  • Comment on Re^3: Emergency: Need an assistance on this scenario

Replies are listed 'Best First'.
Re^4: Emergency: Need an assistance on this scenario
by Anonymous Monk on Feb 15, 2020 at 12:49 UTC