User Prompt during batch script process

The script below performs an incremental database backup. When the increment backup is out of sequence, the process prompts the user:
"Incremental backup out of sequece. Do you wish to continue? Y or N". This script is set to run as a scheduled process in background mode. When the script prompts the user, there is no user to enter a value, thus the background process hangs. Is there a way to pass a N to the process in order to continue processing?

*******************************************
DLC=/database2/dlc/|export DLC
PROMSGS=$DLC/promsgs|export PROMSGS
cd /database/
$DLC/bin/prorest /database/$1 /database/restore/$2
*******************************************

sh script.sh <<end
N
end

Thank you very much. Your suggestion worked.