Sponsored Content
Full Discussion: ksh to check url
Top Forums Shell Programming and Scripting ksh to check url Post 302488162 by itkamaraj on Saturday 15th of January 2011 01:59:32 PM
Old 01-15-2011
Code:
lynx -dump http://google.com &> /dev/null
if [ $? = 0 ]
then
echo "website is up"
else
echo "website is down. Trigger the email"
fi

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Check URL using PERL

I am trying to create a perl script that will make sure a web page can be accessed going through an Apache httpd. The actual content of the web page does not matter. Most likely the web page will just have "You have successfully reached this port." This script will eventually be running... (5 Replies)
Discussion started by: rehoboth
5 Replies

2. Shell Programming and Scripting

Check URL with ksh

Hi everybody, I'm currently writing a ksh script which automates the entire startup of a large number of Tibco BusinessWorks domains, as well as all the deployed components running on it. My script is to be used after an infrastructure release, when the entire environement is down. It... (1 Reply)
Discussion started by: HexAnubis666
1 Replies

3. AIX

Alternative URL to check for the lastest TLs

Hi all, I'm sorry to post this question, but I searched and searched and search but I did not find an alternative url for this one: http://www14.software.ibm.com/webapp/set2/abl/bundle?release=52 (53) I used this site to check for the latest TLs. Thanks in advanced :) tex (3 Replies)
Discussion started by: tex09
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

Check the URL is alive or dead with port number

Hi, I am running certain weblogic instance, in which it's hard to find which instance is stopped or running after stopping the weblogic , cause process status is for all the instance is same. A URL which shows the instance is stopped or running. But i have major challenge to check it through... (2 Replies)
Discussion started by: posix
2 Replies

6. Shell Programming and Scripting

Url Check for a keyword.

thanks (0 Replies)
Discussion started by: kata33
0 Replies

7. Shell Programming and Scripting

Linux Script to check Active URL in Firefox

Hey guys, currently I'm struggling with a little script to check an active URL in my running Firefox. What I'm doing: I'm running a low VPS with about 768mb RAM and Ubuntu on it. I only installed Fluxbox + Firefox to it in order to keep the resource consumption as low as possible. I think i... (8 Replies)
Discussion started by: uniflow
8 Replies

8. Shell Programming and Scripting

Help with Perl script that can check a URL and notifiy when changes occur

I'm a scripting newbie and I'm trying to learn. No better way than being assigned a project. So basically, I'm trying to come up with a script that can periodically check a URL and then notify when changes occur to the file. So what I'm thinking is that I need to devise a PERL script that... (3 Replies)
Discussion started by: adam1mc
3 Replies

9. HP-UX

Browser to check URL in hpux.

Hello Expert, I want to test the url in hp-ux, so it is possible via putty ?? Also have xmanager on the same system. (5 Replies)
Discussion started by: purushottamaher
5 Replies

10. Shell Programming and Scripting

How to check if the URL exists?

Hi, I need to check if the URL exists. Below is my OS: SunOS mymac1 Generic_148888-04 sun4v sparc SUNW,SPARC-Enterprise-T5220 I do not have the curl set in the profile nor am i aware about its path. But i have wget. Please help me with params for the same. Can you help me check if... (6 Replies)
Discussion started by: mohtashims
6 Replies
MONBOOB(1)						      General Commands Manual							MONBOOB(1)

NAME
monboob - Daemon allowing to regularly check for new messages on various websites SYNOPSIS
monboob [-dqv] [-b backends] [-cnfs] [command [arguments..]] monboob [--help] [--version] DESCRIPTION
Daemon allowing to regularly check for new messages on various websites, and send an email for each message, and post a reply to a message on a website. Supported websites: * aum ("Adopte un Mec" French dating website) * bnporc (BNP Paribas French bank website) * bouygues (Bouygues Telecom French mobile phone provider) * dlfp (Da Linux French Page news website) * ecrans (Ecrans French news website) * fourchan (4chan image board) * hds (Histoires de Sexe French erotic novels) * inrocks (Les Inrocks French news website) * lefigaro (Le Figaro French newspaper website) * minutes20 (2 Minutes French newspaper website) * newsfeed (Loads RSS and Atom feeds from any website) * okc (OkCupid dating website) * orange (Orange French mobile phone provider) * phpbb (phpBB forum) * presseurop (Presseurop website) * sfr (SFR French mobile phone provider) * taz (Taz newspaper website) MONBOOB COMMANDS
once Send mails only once, then exit. post Pipe with a mail to post message. run Run the fetching daemon. OPTIONS
--version show program's version number and exit -h, --help show this help message and exit -b BACKENDS, --backends=BACKENDS what backend(s) to enable (comma separated) MONBOOB OPTIONS
-S SMTPD, --smtpd=SMTPD run a fake smtpd server and set the port LOGGING OPTIONS
-d, --debug display debug messages -q, --quiet display only error messages -v, --verbose display info messages --logging-file=LOGGING_FILE file to save logs -a, --save-responses save every response RESULTS OPTIONS
-c CONDITION, --condition=CONDITION filter result items to display given a boolean expression -n COUNT, --count=COUNT get a maximum number of results (all backends merged) -s SELECT, --select=SELECT select result item keys to display (comma separated) FORMATTING OPTIONS
-f FORMATTER, --formatter=FORMATTER select output formatter (csv, htmltable, multiline, simple, table, webkit) --no-header do not display header --no-keys do not display item keys -O OUTFILE, --outfile=OUTFILE file to export result COPYRIGHT
Copyright(C) 2010-2011 Romain Bignon For full COPYRIGHT see COPYING file with weboob package. FILES
"~/.config/weboob/backends" "~/.config/weboob/monboob" SEE ALSO
Home page: http://weboob.org/applications/monboob monboob 0.c 04 May 2012 MONBOOB(1)
All times are GMT -4. The time now is 06:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy