• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Page refresh @ midnight

SPeedY_B

I may actually be insane.
#1
I have a PHP based calender which is composed of tables and the current date/day has a different bgcolor, now this calender obviously highlights the date upon load, but i have recently added it to active desktop and as my computer is always on, i need some way to refresh the page at midnight, is there any way i can do this ???
 

madmatt

Bow Down to the King
Political User
#2
<META HTTP-EQUIV="refresh" content = "3600; URL=c:\Program Files\madmatt\Active Desktop\calendar.php">

That refreshes every 60 minutes. Using that tag there isn't a way to make it refresh at a certain time, just an interval. When I put my calendar together I couldn't think of a way to make it update at midnight every day without writing 20+ lines of code. Sorry. =\
 

madmatt

Bow Down to the King
Political User
#3
write a simple little program that would refresh the HTML for you, and add it to task manager. *shrug*
 

SPeedY_B

I may actually be insane.
#4
i went for the meta tag in the end, nice 1.5hr timer :p

Altho i noticed on active desktop that the page it set to "Make Available Offline" and there's a schedule for that, surely adding a daily schedule to Syncronise the page would update it / the calender?
 

madmatt

Bow Down to the King
Political User
#6
Originally posted by SPeedY_B
i went for the meta tag in the end, nice 1.5hr timer :p

Altho i noticed on active desktop that the page it set to "Make Available Offline" and there's a schedule for that, surely adding a daily schedule to Syncronise the page would update it / the calender?
I never even thought of that. Good call.
 

Members online

No members online now.

Latest posts

Latest profile posts

Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,015
Latest member
bettyicrewsi