Hello gurus,
I am facing an unusual problem while running nohup in shell scripts.
i want to run two scripts simultaneously.In first script ,i take a backup of "nohup.out" & remove it .In second script,i state "nohup ./scriptname"
but "nohup.out" is not getting generated ??
pls find attached two scripts.
firstly,i want to run "selectica_stop" & then "selectica_start".
When "stop" takes place:
1> It has to stop appropriate servers. < working>
2> It must take a backup of nohup.out & then remove it < sometimes works>
when "start" takes place:
1> It has to bring up appropriate servers < working>
2> It must generate "nohup.out" in specified directory < not working>
Your suggestions/corrections are welcome.
Thanks & Regards
AbhijeetKul