Re: cron and standard io
On Mon, Feb 09, 2004 at 03:20:47PM -0500, Harland Christofferson wrote:
> i have a bash script called from a cron job. i want to change the
> terminal size so, within the script, i tried:
>
> stty cols 160 rows 60
>
> the result of the script indicated that there is a standard io error
> when this line is run from the cron job. it works fine when run from
> an xterm shell however.
Cron jobs don't *have* a terminal size, due to having no terminal.
> how can i tell the kernel the size of the io device from a cron job?
> whatever the default value is when the cron job is run is too small
> for my needs.
What are you trying to do?
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: