nohup in a korn shell

From: Basim Chafik (basimc@INVERA.COM)
Date: Tue Mar 11 2003 - 08:15:48 EST


Hi,

I am having a problem with a shell script that uses nohup to start a
background process. This script run fine if I run it from the command line,
However, if I set it to run in cron the script will work and the nohup will
start the background process but the script will stop there. It will not
continue to the next steps in the script which is updating a log file. If I
check the processes with PS, I can see the script is still running and the
background process that nohup started successfully.

If any body have experienced this before, and can share or give me a hint.

Thanks.

Basim Chafik

Senior Technology Consultant
IBM Certified Advanced Technical Expert - RS/6000 AIX
Invera Inc.

****************************************************************************

This e-mail may be privileged and/or confidential, and the sender does not
waive any related rights and obligations. Any distribution, use or copying
of this e-mail or the information it contains by other than an intended
recipient is unauthorized. If you received this e-mail in error, please
advise me (by return e-mail or otherwise) immediately.

Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux
droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou
copie de ce message ou des renseignements qu'il contient par une personne
autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez
ce courriel par erreur, veuillez m'en aviser immédiatement, par retour de
courriel ou par un autre moyen.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:38 EDT