Re: stty & cron

From: Toni Erdmann (for-spammers-only_at_web.de)
Date: 06/09/05


Date: Thu, 09 Jun 2005 18:31:39 +0200

billbose wrote:
> I've got some ksh scripts that when run via a cron job, the output
> includes
> the following:
>
> stty: : No such device or address
>
> This doesn't happen when the script is run in a terminal session.
>
> Can this output be suppressed?
>

man stty

  stty - change and print terminal line settings

-> with cron, your script is not controled by a tty (=terminal),
    so 'stty' can't manipulate or show the terminal settings

Toni