LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   shell script to refresh a web page (https://www.linuxquestions.org/questions/linux-newbie-8/shell-script-to-refresh-a-web-page-732376/)

vinaytp 06-11-2009 11:55 PM

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...........

jamescondron 06-11-2009 11:58 PM

You're going to have to give us more info. What script have you got so far? Refresh in what?

vinaytp 06-12-2009 12:15 AM

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...

jamescondron 06-12-2009 12:19 AM

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)

vinaytp 06-12-2009 12:32 AM

I am using firefox browser...how i can reload a web page in firefox through shell scirpt...

jamescondron 06-12-2009 12:38 AM

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?

NightHorse 06-12-2009 12:55 AM

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


All times are GMT -5. The time now is 12:59 AM.