in reply to fork and kill process
2) If you still wanna to use wget you can do it this way :
3) I stricly suggest you to use LWP module like instead of wgeteval { local $SIG{ALRM} = sub {die "Timeout"}; alarm 60; #your timeout here $resp = `wget ....` } if ($@) { #something worng }
4) Or ParallelUserAgent module (PUA) if you need fast simult download from several places
|
|---|