Running sqlplus in the background on Unix
I am trying to run a file .sql
from sqlplus
within a Unix environment as a background process.
I am connecting to Unix using Tectia or Putty and want to sqlplus
keep running in the background even if my terminal is closed.
This command works
$ sqlplus USERNAME/password@SCHEMA SQL>@test.sql SQL> quit
but when trying to run it in the background it fails
$ sqlplus USERNAME/password@SCHEMA& SQL>@test.sql SQL> quit
What is the correct command / script?
+5
source to share
2 answers