|
How to send message to all console?
|
05/24/2013 11:32 PM
post101696
|
How to send message to all console?
I use cron to shutdown the computer at 21:30 PM. The script is written as this:
30 21 * * * (echo -n "Warning: the system will shutdown in 30 seconds!!!; sleep 30; shutdown -b) > /dev/con1
But it can only be display on local console.
If there are other users connected by telnet, how to inform them the warning message?
Allen
|
|
|