On Wed, 12 Aug 1998, Kenneth Stephen wrote:

> 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.
> !!
> 
When the at job runs, is pgmr logged in on ttyp0?  Do you have permission
to write to ttyp0?

--
Mike <[EMAIL PROTECTED]>

Our business is run on trust.  We trust you will pay in advance.

Reply via email to