I am running a Korn shell script as root from cron. The script su's to a user (using the su - name -c) and then runs three commands with a semi-colon in between each command.
error messages are sent to root's mail. I get the following messages:
stty: : No such device or address
stty: : No such device or address
Must be attached to terminal for 'am I' option
The job runs, apparently OK.
What is the 'am I' option and how do I correct what must be an error in my script?
error messages are sent to root's mail. I get the following messages:
stty: : No such device or address
stty: : No such device or address
Must be attached to terminal for 'am I' option
The job runs, apparently OK.
What is the 'am I' option and how do I correct what must be an error in my script?