Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

notification on completion of background jobs in shell scripts

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,
I would like to know how I can trap the notification message like 'Done x' for jobs
that I submit as background processes in a shell script. I would like to redirect them
to a file from which I would awk out the return code.
Any help will be highly appreciated.
 
shell_script.ksh 2>&1 > output_file &
[sig]<p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>Making mistakes, so you don't have to. &lt;grin&gt;[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top