LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-27-2008, 02:21 PM   #1
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
Login to a busy website and inform me


A website is limited to 3 simultaneous users.
If the website is busy, clicking the login link will get this error message displayed at my Firefox web browser:
Unable to connect
Firefox can't establish a connection to the server at www.lirico.ca:61915.
A "Try Again" button is also displayed.
I would like to use or write a program to login to the busy website (e.g. try every 5 minutes). After the program detect that the website is not busy or even login for me, the program will inform me by generating a beep sound.
Please help.
Thanks.
 
Old 03-27-2008, 06:27 PM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Sounds like you need to write a firefox extension.
 
Old 03-27-2008, 09:10 PM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by matthewg42 View Post
Sounds like you need to write a firefox extension.
Or you could write a shell script which calls firefox if it detects a connection (of course there might be a race condition here):
Code:
#!/bin/sh

while ! curl www.lirico.ca:61915; do sleep 5m; done

firefox www.lirico.ca:61915 & printf '\a'
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: This week at LWN: Busy busy busybox LXer Syndicated Linux News 1 10-05-2006 08:09 PM
Website member login and data retrieval lord-fu Programming 3 03-13-2006 02:27 PM
AOL problem I want to inform you all about! WorldBuilder Linux - Software 7 06-21-2003 02:44 AM
AOL problem I wanted to inform you all about! WorldBuilder Linux - General 1 06-20-2003 03:14 PM
Website login tool raypen Linux - Software 2 07-03-2002 05:07 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration