|Written by Martin|
|Monday, 15 September 2008 12:08|
Nohup is a UNIX utility that should be available for any flavour of Unix - AIX, Solaris, BSD, Linux, ... It prevents programs from terminating when they receive the HUP (hangup) signal, thus is the ideal candidate for long running SQL commands over a slow or unreliable line.
$> nohup sqlplus user/password@database @/path/to/long_running_work.sql &
This goes to the regular background job, allowing you to query it:
When you next try to exit your session, you'll be notified about the running jobs (but you can exit anyway since they'll continue happily in the background.
Note that you don't have to put quotes around your command you want to run!
|Last Updated on Monday, 15 September 2008 12:11|