I need to write a script which runs a command (on that particular server only) after every 10 mins, and the contents are also echoed on that very terminal only.
And then I need to compare the last two outputs, and mail if there is any difference in the last two outputs.
Can we set some alerts, say a machine beeps if the last two outputs have some difference.
Thats my total job.
I think I can do the rest part of it,
BUT
first I want to know how can I run a command automatically after every 10 mins, and dislpay its contents on the terminal.