Can some one help me Automating ontape -c or ontape -a for logical logs backup.If i close the window the process dies.I am sure there must be a way to overcome this.Does some one have the script?
Just run the process using the nohup command to put the process into the background, then when you log off the process will continue to run:
i.e.
nohup ontape -c &
The output is sent to nohup.out - then close the window and log back on and the process will still be running. PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
I tried but when I close the window the process is stopped.I am pasting the results from the window:
============================
informix@sf-cdev-db1:~:infxcdev:3515>nohup ontape -c &
[1] 10303
informix@sf-cdev-db1:~:infxcdev:3516>Sending output to nohup.out
[1]+ Stopped nohup ontape -c
=========================================
I also looked at the process using ps -ef |grep ontape It showed nothing.I have gone through many documents and all they say is that you can automate ontape -c only through script.If you have any such script or you know any site,Please let me know.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.