Hi,

    I have a shell script which attempts to write a message to a tty
from a job scheduled with 'at'. When I execute this script from the
foreground, the message is written out to the correct tty perfectly.
However, when it is scheduled with 'at', nothing gets written out. Any
ideas why, or how I can fix this? Here is my script :

#!/bin/bash

write pgmr ttyp0 <<-!!
        Hi there! This is a message from your friendly neighbourhood
                S P I D E R M A N.
!!

Thanks in advance,
Kenneth

--
There is no such thing as luck. 'Luck' is nothing but an absence of bad luck.



Reply via email to