Let's say I have a java program in the background and shows some results on the output for example every 1h. Is there any way to get notified e.x., via sound when there is such an activity on the console?
I would be grateful if your answer takes into account the fact that I am running the program via ssh and nohup.
Thanks.