I thought about where to post this questions and to me it is a linux server Q? So here goes?
We have a command, usually started with cron or at, that starts a shell script that eventually runs wget to capture the output of a streaming audio server device. This script runs wget in the background and waits a specific time before it kill's the background process. But, about 50% of the time when the kill runs the PID it is trying to kill is NOT active. This failure in return causes the job to end as an incomplete capture.
I cannot determine why or what is causing the wget program to end prematurely. Does anyone hopefully have any ideas as to what to look for?
I'll be sure to share what I eventually determine. Thanks
We have a command, usually started with cron or at, that starts a shell script that eventually runs wget to capture the output of a streaming audio server device. This script runs wget in the background and waits a specific time before it kill's the background process. But, about 50% of the time when the kill runs the PID it is trying to kill is NOT active. This failure in return causes the job to end as an incomplete capture.
I cannot determine why or what is causing the wget program to end prematurely. Does anyone hopefully have any ideas as to what to look for?
I'll be sure to share what I eventually determine. Thanks