get selective input and run cron job.

Hi,
I have one shell script where it will copy all files to a directory which is already present,

For example :
i have directory DIRA and DIRB, and my shell script will expects user input to specify which directory should files must be copied. this shell scrip i am running every day using cron job, how can i specify the user input which shell scripts requires.

Thanks,
AK

Pass the directory name as a parameter to the script?

scriptname DIRA
scriptname DIRB

Refer to the parameter in the script with $1 . You cannot ask questions in a cron job because there is no terminal context.