Hi,
It will be nice if somebody give me some tips how to handle this .
I am running a script in cron which redirects the stderr and stdout to a file using
scrip >file.log 2>&1
But,sometimes I need to interact with the output like answer the question Y or N to proceed the script.But I can't do this using this type of log redirection.
Can anybody suggest some better way of doing this?
Jeysun
It will be nice if somebody give me some tips how to handle this .
I am running a script in cron which redirects the stderr and stdout to a file using
scrip >file.log 2>&1
But,sometimes I need to interact with the output like answer the question Y or N to proceed the script.But I can't do this using this type of log redirection.
Can anybody suggest some better way of doing this?
Jeysun