Results 1 to 6 of 6
is it possible to use wget command to send a http get request and not wait for the response?
in regular use when i make a call with wget i ...
- 08-14-2008 #1Just Joined!
- Join Date
- Aug 2008
- Posts
- 6
using wget
is it possible to use wget command to send a http get request and not wait for the response?
in regular use when i make a call with wget i get a response message like 200 ok to let me know the request was successfull.
is there any parameter i can use which will allow my wget request to just send the http get and not wait on a response?
- 08-15-2008 #2
Not sure why you would want to do this... what are you trying to achieve?
- 08-15-2008 #3Just Joined!
- Join Date
- Aug 2008
- Posts
- 6
when i do a wget it creates a file with response data. id prefer not to have these files building up on the server as i need to send the request once a day.
i just want to be able make a request to a specific URL, which will then kick off a custom job , and in the meantime let the server forget about waiting for any response
- 08-15-2008 #4
You can use wget --spider $URL ... it won't download anything then.
Does that help?
If wget hangs on that request waiting for your remote server you can always run a kill command 5 mins later from cron...
- 08-15-2008 #5Just Joined!
- Join Date
- Aug 2008
- Posts
- 6
ya that sounds right, no download should mean no new content placed on the server, thanks!
- 08-15-2008 #6
No problem, glad to help!


Reply With Quote