|
From: | Guolin Cheng |
Subject: | How to detach a long-run processes from cfengine??? |
Date: | Mon, 20 Sep 2004 15:00:49 -0700 |
Hi,
Just got a problem: How to detach a program from cfengine? The program is called from “shellcommands” section and will run as long as one hour, I would like it to be detached from the main cfagent process just after it is called? If it possible?
I tried the following rules but it failed, cfagent still wait there until the called program to die.
…..
Shellcommands:
Linux::
“/someAbsoluteDir/Long_run_jobs.sh </dev/null >/dev/null 2>&1 &”
……
Any suggestions?
Thanks a lot.
--Guolin
[Prev in Thread] | Current Thread | [Next in Thread] |