nohup command in a script.......

I want to know how to use a nohup command in the script........

I have to run following command

nohup /tmp/app/statuscheck.sh &

After typing this command I will type ctrl D to come to the prompt and the that command will run in backround.

I want to include that command in a script . How to include it.what to do for Ctrl in the script..

You should not need to type ctrl-D to get back to the prompt. If your shell has proper job control, & should put the script in the background and return you to the prompt. The exact same commands should work in a script.

i waited for a long time.but it is not returning to the prompt....