LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2009, 12:55 AM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
shell script to refresh a web page


hi experts...

I am writing a script to refresh a web page for every 5 minutes...but i am not getting is there any command in shell script that will refresh a web page....

can anyone help me please......

Thanks in advnace...........
 
Old 06-12-2009, 12:58 AM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
You're going to have to give us more info. What script have you got so far? Refresh in what?
 
Old 06-12-2009, 01:15 AM   #3
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Original Poster
Rep: Reputation: 55
Right now i dont have any script.I want to write this because.. while reading a book online in a web site if i dont reload the page within some amount of time the session expires and i have to relogin again..to avoid that i wanted to write a script that reloads the page for every 5 minutes..hope u got my problem..can u please suggest me the way that i can start this script...
 
Old 06-12-2009, 01:19 AM   #4
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Okay, well firstly it depends on how the web server is setup for session times, and I suppose it depeneds on your web browser. Firefox has a well received macro engine which could help here, Opera, Konqueror et al, I really couldn't say. (Well, looking at Opera, I don't think it does)
 
Old 06-12-2009, 01:32 AM   #5
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Original Poster
Rep: Reputation: 55
I am using firefox browser...how i can reload a web page in firefox through shell scirpt...
 
Old 06-12-2009, 01:38 AM   #6
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Well, there are plenty of 'auto refresh' plugins for firefox out there, but you ought to know; this probably wont make much difference to keeping sessions open. There may be a better way, you know; What exactly are you looking to do?
 
Old 06-12-2009, 01:55 AM   #7
NightHorse
Member
 
Registered: Jun 2009
Location: Egypt
Distribution: Ubuntu 10.04
Posts: 117

Rep: Reputation: 16
ReloadEvery:
Quote:
Reloads web pages every so many seconds or minutes. The function is accessible via the context menu (menu you get when you right click on a web page) or via a drop down menu on the reload button ...
You could find more. Just search on mozilla firefox addons
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
shell script if any home page changes sasi.rrkay Linux - Newbie 1 08-02-2007 10:26 AM
Running a shell script from a web page anirbande Linux - Newbie 1 12-01-2006 02:36 PM
How do I display real shell script output to web page. farmerjoe Programming 1 04-07-2005 02:03 PM
Apache web page - refresh dvong3 Linux - General 7 06-26-2003 02:36 PM
Refresh Web Page dvong3 Linux - General 1 10-03-2002 09:33 AM


All times are GMT -5. The time now is 02:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration