![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Checking for availability of remote server | dylanmilks | Shell Programming and Scripting | 4 | 03-01-2007 12:08 PM |
| Checking for availability of remote server | dylanmilks | IP Networking | 1 | 02-22-2007 07:48 PM |
| man pages of any command from a c program in unix | spanduu | High Level Programming | 2 | 07-04-2006 02:58 PM |
| Unix Manual (man-page) pages in HTML | killerserv | News, Links, Events and Announcements | 1 | 06-26-2002 01:05 AM |
| Dynamic web pages for Unix Web Server | me2unix | UNIX for Dummies Questions & Answers | 5 | 12-05-2000 06:08 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Checking availability of Web pages through Unix script
Hi Guru's,
I need to check the availability of a web page for every one hour through a script. Following is the requirement. 1. Go to http://vsn.srivsn.com 2. If any error encountered in openeing the home page, it should trigger an email with the appropriate error message. 3. If page opens with out any problem, Login with username vsn nd pwd vsn. 3. If any error encountered in opening particular user account, it should trigger an email with the appropriate error message. 4. After successful login, it has to navigate to a link and that link has to be opened in the same page. 5. If an error comes in opening the page associated with that link, it should trigger an email with the appropriate error message. 6. If everything is successful, an email should be triggered indicating that the site is available. I need the scheduling options for this to run the script for every one hour. Am new to this and hardly worked on one or two scripts a year back. Need help. Thanks in advance, srivsn. |
|
||||
|
One tool that will be useful is wget. This is command line tool that is delivered with almost all Linux distributions and you can also get versions for other systems or you can just try to compile it yourself. Just type wget on your command window and see if the system finds it. Otherwise you should have to install it if you think that will be useful and have to rights to do it.
This is one of the several links where you can find more information: http://www.die.net/doc/linux/man/man1/wget.1.html Best regards, Guillermo Quote:
|
|
||||
|
passing username and passwd to http page from unix
hi all,
can any one tell me how to pass username and password to an HTML page from UNIX? I tried with wget. But, there are no options to pass authentication information to webpage. plz, can any one suggest me how can I do it? Thanks in advance.................! Rani |
|
||||
|
I'm just thinking... I don't know if it would work but you may try to type the URL with the login parameters on it. You should look at the source code of the page to see the names of the fields and the URL where the form submits the data. Just an idea...
|
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|