running processes with no hang up

Can we run a script in nohup which calls another script in nohup.
eg

Script1.sh
#Script1 start
nohup script2.sh
.
.
.
#end script1.sh

Now can I do this

nohup script1.sh

Also is all scheduled processes (crontab entries) will run as nohup?

Would appreciate if any one can help me to clarify my doubts.

yea u can run
but u need to give the full execute permission

I never tried to nest a nohup in a nohup command but it would make sense that it would work. You can check the nohup manual page if it stating anything about it. Please do try and post the results on this forum so other people can see your results.

About cron and nohup. A script executed by cron will run always in the background if it really really makes use of pure nohup I would not know but you could check.

Regards,
Johan Louwers.

I tried this

Ran the nested nohup scripts with each one echoing something.After run complete, Checked the nohup.out and could find both these echo statements in nohup.out.

Am concluding that we can have nested nohup calls.Correct me if am wrong.

Also if any body knows please let me know whether cronjobs will run as nohup(Know that they runs in background but not sure it is nohup)

Thanks