Console message - how do I create one?
I've got a crontab job which will should alert me if a process fails.
How can I create a stonking great console message that will flash up in front of all other windows on my workstation when things go belly up? Dave |
You are probably looking for something like 'wall' check out 'man wall' for more info. I'm not all that familiar with it otherwise I'd give you an example ;)
Cool |
wall seems to do the trick.
When an error occurs, I pipe the error message to a file, then call wall <filename> as root. This broadcasts to all users on the box (i.e. me!) Thanks for that. Dave |
You're welcome, glad it works ;)
Cool |
All times are GMT -5. The time now is 02:05 AM. |