The --timeout switch should usually work. If you're really sure that it doesn't, you can always send the command to the background and kill it after some time, eg.
Still the question remains, why use Yahoo (or any other website) to get the date/time if there's such a nice thing as NTP?
Hi All,
I think wget command would not download any directories. But please confirm it. If it downloads directories, please let me know how to do it.
Thank you. (1 Reply)
hi
I was run thix command(wget) it was runing in some severs
but in some servers it wasn't run ??
......
how to it run in that server ?
thx
:( (1 Reply)
I was recently reading a manual of wget and there was command as "binding-address" and I read about tcp/ip binding but i don't understand one thing is...what is the use of binding address in wget..
Can anyone help me with this. (6 Replies)
I need to get the current date off a remote site, such as Google or Yahoo.
Does anyone know how to use the wget command on a Solaris 10 system to do this? I recall a long time ago, where using "wget" will get a bunch of info off a site, and then, you can extract the date from all of that info.
... (6 Replies)
Hi All,
While using below command I am getting some unusual character in Release.txt file.How could I remove or stop them to go into Release.txt file
wget -q http://m0010v.prod.wspan.com/nggfmonatl/Default.aspx
cat Default.aspx|egrep -in "EFS|HOTFIX" | awk -F/ '{print $(NF-1)}'|cut -d... (1 Reply)
Hi ,
Iam using " WGET " command to hit the URL,i.e. servlet url.
I can trigger the servlet using wget but when servlet is not responding this command retries automatically until it get the positive response from the server.
So this script is running for more than 8 hrs to get the positive... (2 Replies)
Dear all,
I would like to use the wget command to download on my laptop some free e-books for then being able to read them when I am off the internet.
could you please let me know, what is the best of doing that?
Let's say, I want download the bible that can be found here:
The Project... (3 Replies)
Hello friends,
I've been working on a solaris server,
I need to test responses of a web service using WGET command, if the response is successful, how quick it is etc.
I have scirpt like this, I modified it, i try to redirect the output of time command to total.txt but i couldn't manage, i... (4 Replies)
If there were 3 files put in a folder on /Desktop/Test then transferred to a site.
would
gzip -r /Desktop/Test zip them so that
wget --http-user cmccabe --http -passwd xxxx*** https://something.sharefile.com/login.aspx -O - | tar -zxf - could be used to connect to the site, login,... (6 Replies)
hi,
i need help for downloading excel file from internet and convert it to text file
wget http://spreadsheetpage.com/downloads/xl/wordfrequency.xls (4 Replies)
Discussion started by: raghur77
4 Replies
LEARN ABOUT FREEBSD
timeout
TIMEOUT(1) BSD General Commands Manual TIMEOUT(1)NAME
timeout -- run a command with a time limit
SYNOPSIS
timeout [--signal sig | -s sig] [--preserve-status] [--kill-after time | -k time] [--foreground] <duration> <command> <args ...>
DESCRIPTION
timeout starts the command with its args. If command is still running after duration, it is killed. By default, SIGTERM. is sent.
--preserve-status Always exits with the same status as command even if it times out.
--foreground Do not propagate timeout to the command children.
-s sig, --signal sig Specify the signal to send on timeout. By default, SIGTERM. is sent.
-k time, --kill-after time Send a second kill signal if command is still running after time after the first signal was sent.
DURATION FORMAT
duration and time can be integer or decimal numbers. Values without unit symbols are interpreted as seconds.
Supported unit symbols are:
s seconds
m minutes
h hours
d days
EXIT STATUS
If the timeout was not reached, the exit status of command is returned.
If the timeout was reached and --preserve-status is set, the exit status of command is returned. If --preserve-status is not set, an exit
status of 124 is returned.
If command exits after receiving a signal, the exit status returned is the signal number plus 128.
If command is an invalid command, the exit status returned is 126.
If command is a non existing command, the exit status returned is 127.
If an invalid parameter is passed to -s or -k, the exit status return is 125.
SEE ALSO kill(1), signal(3)BSD Oct 28, 2014 BSD