[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cron and standard io



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. 

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.












Reply to: