Launch a job with Child process #687
-
Hello, I have a shell script that launch a kind of service. When i disconnect then the job continue to work. When i try to launch it with cronicle, the job in cronicle never finish. I suspect it's because some background job are still running ( normal for a service). I try to add exit at the end of the job but still cronicle wait for the end of child process. Do i need to create my own plugins instead of user shelscript.js? Someone already have this kind of issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sorry found solution just by redirect stdout and stderr seems to work for me : nohup ./stop.sh 1>/tmp/stop.log 2>/tmp/stop.log & |
Beta Was this translation helpful? Give feedback.
Sorry found solution just by redirect stdout and stderr seems to work for me :
nohup ./stop.sh 1>/tmp/stop.log 2>/tmp/stop.log &
nohup ./start.sh 1>/tmp/start.log 2>/tmp/start.log &