Sponsored Content
Full Discussion: Check if wget finishes
Top Forums Shell Programming and Scripting Check if wget finishes Post 302586134 by ahamed101 on Friday 30th of December 2011 08:14:43 AM
Old 12-30-2011
May be you can give a try at -T timeout option in wget...

--ahamed
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

send mail after script finishes running

Hi All, We now have a Log file which has time stamps of all the scripts ran. It has start time and end time. I now have a requirement to send mail to the Admin after the script finishes running. Can some one help me with a Script which will send mail with Start time and End time of the... (2 Replies)
Discussion started by: srikanthgr1
2 Replies

2. Shell Programming and Scripting

performing cleanup when a job finishes

The title sounds like an easy problem (maybe it is), however, the catch is that when a job 'A' is called inside a wrapper, the execution does not wait for 'A' to finish, but it goes on to the next line (right after kicking off 'A'). My question is, how will you keep the execution waiting for... (4 Replies)
Discussion started by: ChicagoBlues
4 Replies

3. Shell Programming and Scripting

Using wget and check for non-zero files

Hello, I'm using a shell script containing a wget-command that copies html-files from a website to my ISP-server. I therefore want to check if that file exist and also if the filessize is larger than e.g. 100 bytes. Probably it's done by using something like fileexist and filesize. The wget... (3 Replies)
Discussion started by: weatherboys
3 Replies

4. Shell Programming and Scripting

wget to check an URL

I all, I wrote an script which starts a Weblogic server and waits until its loaded to deploy several apps. The way I checked was something like: while ; do wget --spider <URL>:<port>/console > /dev/null 2>&1 rc=$? done This works perfectly because it's an HTML site and when server is... (2 Replies)
Discussion started by: AlbertGM
2 Replies

5. UNIX for Dummies Questions & Answers

Prints to screen when background process finishes

If I run "sleep 10&".. when that background process is done, is there a way for unix to print to screen to let me know? Thanks. (1 Reply)
Discussion started by: jmelai
1 Replies

6. Shell Programming and Scripting

Deleting string within a file that finishes with .log

Hello, This is my first post. Nice forum! I have a file trls.results small exemple of content (actually the file can be very big): ./security/htaccess.htm ./security/ipcount.log ./adhoc/sql/datamod06.sql So there is 3 paths to 3 different files... I want to remove every string that has a... (9 Replies)
Discussion started by: Jacob106106
9 Replies

7. UNIX for Dummies Questions & Answers

Problem with wget no check certificate.

Hi, I'm trying to install some libraries, when running the makefile I get an error from the "wget --no check certificate option". I had a look help and the option wasn't listed. Anyone know what I'm missing. (0 Replies)
Discussion started by: davcra
0 Replies

8. Shell Programming and Scripting

Check wget return code

hello check this script it jump to else part, in n both cases, (if files exist or not) wget $MIRROR/kkk.zip && wget $MIRROR/jjj.zip RC="$?" if ] then echo -e "$RED Ooops, Download links are broken...! $RESET" else echo -e "$GREEN Everything is fine, Cheers ... $RESET" fi (4 Replies)
Discussion started by: nimafire
4 Replies

9. UNIX for Advanced & Expert Users

CMD to check status of the server using Wget

Hi All, Using Wget I'm able to get the status of the server.....only when the server is completely down or up.... but problem here in script is Suppose if the server got hang I mean to say that if the server is taking long time to login, for example normally the server takes 3 seconds to login... (3 Replies)
Discussion started by: manohar2013
3 Replies

10. UNIX for Beginners Questions & Answers

Wait till any one child process finishes

Hi I am facing a problem in my ksh. My main script is calling 3 different child process in the background. I am using wait to finish all and then submit another 3 child processes. Now what i want is , whenever any one child process finishes ,i want to submit next one.so that parallel 3... (2 Replies)
Discussion started by: Sangu
2 Replies
DEVSCRIPTS(1)						      General Commands Manual						     DEVSCRIPTS(1)

NAME
devscripts - scripts to ease the lives of Debian developers DESCRIPTION
The devscripts package provides a collection of scripts which may be of use to Debian developers and others wishing to build Debian pack- ages. For a summary of the available scripts, please see the file /usr/share/doc/devscripts/README.gz, and for full details, please see the individual manpages. They are contributed by multiple developers; for details of the authors, please see the code or manpages. Also, the directory /usr/share/doc/devscripts/examples contains examples of procmail and exim scripts for sorting mail arriving to Debian mailing lists. ENVIRONMENT
Several scripts of the devscripts suite use the following environment variables. Check the man page of individual scripts for more details on how the variables are used. DEBEMAIL Email of the person acting on a given Debian package via devscripts. DEBFULLNAME Full name (first + family) of the person acting on a given Debian package via devscripts. SCRIPTS
Here is the complete list of available devscripts. See their man pages for additional documentation. annotate-output(1) run a command and prepend time and stream (O for stdout, E for stderr) for every line of output archpath(1) print tla/Bazaar package names [tla | bazaar] bts(1) a command-line tool for manipulating the BTS [www-browser, libauthen-sasl-perl, libnet-smtp-ssl-perl, libsoap-lite-perl, libwww- perl, bsd-mailx | mailx] build-rdeps(1) Searches for all packages that build-depend on a given package [dctrl-tools] chdist(1) tool to easily play with several distributions [dctrl-tools] checkbashisms(1) check whether a /bin/sh script contains any common bash-specific contructs cowpoke(1) upload a Debian source package to a cowbuilder host and build it, optionally also signing and uploading the result to an incoming queue [ssh-client] cvs-debi, cvs-debc(1) wrappers around debi and debc respectively (see below) which allow them to be called from the CVS working directory. [cvs-buildpack- age] cvs-debrelease(1) wrapper around debrelease which allows it to be called from the CVS working directory. [cvs-buildpackage, dupload | dput, ssh- client] cvs-debuild(1) A wrapper for cvs-buildpackage to use debuild as its package building program. [cvs-buildpackage, fakeroot, lintian, gnupg] dcmd(1) run a given command replacing the name of a .changes or .dsc file with each of the files referenced therein dcontrol(1) remotely query package and source control files for all Debian distributions. [liburl-perl, libwww-perl] dd-list(1) given a list of packages, pretty-print it ordered by maintainer debc(1) display the contents of just-built .debs debchange/dch(1) automagically add entries to debian/changelog files [libparse-debcontrol-perl, libsoap-lite-perl] debcheckout(1) checkout the development repository of a Debian package debclean(1) purge a Debian source tree [fakeroot] debcommit(1) commit changes to cvs, darcs, svn, svk, tla, bzr, git, or hg, basing commit message on changelog [cvs | darcs | subversion | svk | tla | bzr | git-core | mercurial] debdiff(1) compare two versions of a Debian package to check for added and removed files [wdiff, patchutils] debi(1) install a just-built package debpkg(1) dpkg wrapper to be able to manage/test packages without su debrelease(1) wrapper around dupload or dput [dupload | dput, ssh-client] debsign, debrsign(1) sign a .changes/.dsc pair without needing any of the rest of the package to be present; can sign the pair remotely or fetch the pair from a remote machine for signing [gnupg, debian-keyring, ssh-client] debsnap(1) grab packages from http://snapshot.debian.org [libwww-perl, libjson-perl] debuild(1) wrapper to build a package without having to su or worry about how to invoke dpkg to build using fakeroot. Also deals with common environment problems, umask etc. [fakeroot, lintian, gnupg] deb-reversion(1) increases a binary package version number and repacks the archive dep3changelog(1) generate a changelog entry from a DEP3-style patch header desktop2menu(1) produce a skeleton menu file from a freedesktop.org desktop file [libfile-desktopentry-perl] dget(1) downloads Debian source and binary packages [wget | curl] dpkg-depcheck, dpkg-genbuilddeps(1) determine the packages used during the build of a Debian package; useful for determining the Build-Depends control field needed [build-essential, strace] diff2patches(1) extract patches from a .diff.gz file placing them under debian/ or, if present, debian/patches [patchutils] dscextract(1) extract a single file from a Debian source package [patchutils] dscverify(1) verify the integrity of a Debian package from the .changes or .dsc files [gnupg, debian-keyring, libdigest-md5-perl] edit-patch(1) add/edit a patch for a source package and commit the changes [quilt | dpatch | cdbs] getbuildlog(1) download package build logs from Debian auto-builders [wget] grep-excuses(1) grep the update_excuses.html file for your packages [libterm-size-perl, wget, w3m] licensecheck(1) attempt to determine the license of source files list-unreleased(1) searches for unreleased packages manpage-alert(1) locate binaries without corresponding manpages [man-db] mass-bug(1) mass-file bug reports [bsd-mailx | mailx] mergechanges(1) merge .changes files from a package built on different architectures mk-build-deps(1) Given a package name and/or control file, generate a binary package which may be installed to satisfy the build-dependencies of the given packages. [equivs] namecheck(1) Check project names are not already taken. nmudiff(1) mail a diff of the current package against the previous version to the BTS to assist in tracking NMUs [patchutils, mutt] plotchangelog(1) view a nice plot of the data in a changelog file [libtimedate-perl, gnuplot] pts-subscribe(1) subscribe to the PTS for a limited period of time [bsd-mailx | mailx, at] rc-alert(1) list installed packages which have release-critical bugs [wget] rmadison(1) remotely query the Debian archive database about packages [wget | curl, liburi-perl] suspicious-source(1) output a list of files which are not common source files [python-magic] svnpath(1) print svn repository paths [subversion] tagpending(1) runs from a Debian source tree and tags bugs that are to be closed in the latest changelog as pending. [libsoap-lite-perl] transition-check(1) Check a list of source packages for involvement in transitions for which uploads to unstable are currently blocked [libwww-perl, libyaml-syck-perl] uscan(1) scan upstream sites for new releases of packages [libcrypt-ssleay-perl, libwww-perl, unzip, xz-utils] uupdate(1) integrate upstream changes into a source package [patch] what-patch(1) determine what patch system, if any, a source package is using [patchutils] whodepends(1) check which maintainers' packages depend on a package who-uploads(1) determine the most recent uploaders of a package to the Debian archive [gnupg, debian-keyring, wget] wnpp-alert(1) list installed packages which are orphaned or up for adoption [wget] wnpp-check(1) check whether there is an open request for packaging or intention to package bug for a package [wget] wrap-and-sort(1) wrap long lines and sort items in packaging files [python-debian] DEBIAN
Debian Utilities DEVSCRIPTS(1)
All times are GMT -4. The time now is 04:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy