Please give your valuable suggestion for my following query.
I need to generate a pop up message when a cronjob fails. The cron job is in the load server and I need to show the pop up message in another web server. That is the output file(a.out) of the cron job file needs to be transferred from the load server to the web server . Then I need to create a new cgi file(popup.cgi) in the web server which reads the output file(a.out) and generate the pop up message in two pages (index.cgi and messages.cgi) which are in the web server.
In case of failure, it should show a pop up message as FAILURE. This message should be hidden when the out put file (a.out) is holding the word success.
Please let me know if u need more clarification on this and share ur opinion about this logic.If u have any other smarter way, Please yours is mostly welcome.