refresh url once a day

refresh url (not on my server --call it once a day at 8am

I am using windows7 (but have access to linux also)

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Not sure I understand - you need the browser to automatically refresh itself at 8am - just like someone hitting the F5 key?
I think this is done more in the source of the webpage rather than on the application itself.
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
what do you want to do? details are missing , please post details to help you
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

Here is an add-on for Firefox:
ReloadEvery 7.0.0
Reloads web pages every so many seconds or minutes.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
you are using windows 7 , why the zone is linux?
Gerwin Jansen, EE MVETopic Advisor Commented:
Hi, on what machine do you wish to refresh which URL? Is it some sort of 'news' system that has to refresh at the beginning of the day? Please explain a bit more, thanks.
Ray PaseurCommented:
Do you want to read the HTML once a day?  Are you using a browser?  
digus' solution works perfectly for Firefox, I use it daily on several systems that require 15 minute updates - but you can set it to update at any time.  Just remember to enable it and not just set the time.
rgb192Author Commented:
the firefox addon 'reload every' will not allow me to reload a webpage once a day

the url I wish to load once a day is one where email will be sent

if it is reloaded too many times, then many emails are sent

i am using windows 7, but will consider doing this in ubuntu linux
Having a program rely on a browser window refreshing to send an e-mail is a very bad idea for many reasons. You should set something like this as a CRON job.

That said, use reload every, right click the window and choose Reload, and set it for Custom with 1440 minutes (you can type the number in - you don't have to use the values in the drop down).

It will work.
Setting it to 1140 minutes will reload the page every 24 hours.
1140 is 19 hours.

1440 is 24 hours.
Good catch..;)
It's a number I reference often in code. :)
Ray PaseurCommented:
the url I wish to load once a day is one where email will be sent
if it is reloaded too many times, then many emails are sent

If I understand this correctly, you have a GET-method script that will send an email any time someone accesses the URL?  I would not do it that way; I would use a CRON job instead.  And since this takes an action that is more than simply data retrieval, you must not use a GET request to trigger it.  GET is only for data retrieval from server to client.  Technically you may not be changing your data model when the email is sent, but you're changing the recipient's data model.  

Also, I would make sure that this script is not where it can be found by a web browser or Google.  Put it outside of the WWW root, just to be safe.
In your terminal type

crontab -e

and add the following line at the bottom

1 0 * * * curl "" > /dev/null

This will call on one minute past midnight every night.
rgb192Author Commented:
this is the easy (may not be the best) solution I used
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.