|
From: | Wheeler, John |
Subject: | background a shellcommand |
Date: | Tue, 3 Dec 2002 13:46:07 -0600 |
I have the following:
Hr02.app002prod::
'/export/home/malert/bcom/tornado-util/bin/runEmailNotify'
owner=malert
group=gCCusers
background="">
useshell=true
The problem is that the background doesn't appear to be working.
from cfagent -d2 --verbose
....
/export/home/malert/bcom/tornado-util/bin/runEmailNotify
timeout=0
uid=102324,gid=20000
umask = 77, background = "" <-------------- got the background flag
ChDir=, ChRoot=
Define
ElseDefine
Classes app002prod
.........
cfengine:app002prod: Executing script /export/home/malert/bcom/tornado-util/bin/
runEmailNotify...(timeout=0,uid=102324,gid=20000)
(Setting umask to 77)
cfpopen(/export/home/malert/bcom/tornado-util/bin/runEmailNotify)
cfengine:app002prod: ^[]0;app002prod:root-/ ^G <------------------- shell escapes setting title bar, could this be a problem?
cfpclose_def(pp)
cfpopen_def - Waiting for process 26973 <-----------------why is it waiting?
cfengine:app002prod: Finished script /export/home/malert/bcom/tornado-util/bin/r
unEmailNotify
Actually the script itself calls java and sends it to the background. If I run the script from command line it exists immediately.
What am I missing?
[Prev in Thread] | Current Thread | [Next in Thread] |