469,275 Members | 1,582 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

Java timer script to click url at set time each day

I need a javascript to click an URL link at 7:00pm CST everyday which starts a web presentation?
May 23 '07 #1
13 2840
r035198x
13,262 8TB
I need a javascript to click an URL link at 7:00pm CST everyday which starts a web presentation?
Post the question in your own thread in the Javascript forum.
May 23 '07 #2
I want to automate the starting of a webcast every day. I need a javascript that will check the time and click a url every day at 7:00pm CST.
May 24 '07 #3
r035198x
13,262 8TB
I want to automate the starting of a webcast every day. I need a javascript that will check the time and click a url every day at 7:00pm CST.
Java != Javascript.

Moved to Javascript forum.
May 24 '07 #4
dmjpro
2,476 2GB
i m not sure that i understand ur problem.
yet i responding u .....

if ur page opened and the time is 7:00pm then the specified URL is redirected....right????

then set a timer see the JS API (setTimeInterval and setTimeOut) and update the window.location.href with the spcified URL when the time is 7:00pm.

best of luck

kind regards.
dmjpro.
May 24 '07 #5
I want to automate the starting of a webcast every day. I need a javascript that will check the time and click a url every day at 7:00pm CST.
Sorry I am a total Newbie I though I was posting in the correct area.
May 24 '07 #6
i m not sure that i understand ur problem.
yet i responding u .....

if ur page opened and the time is 7:00pm then the specified URL is redirected....right????

then set a timer see the JS API (setTimeInterval and setTimeOut) and update the window.location.href with the spcified URL when the time is 7:00pm.

best of luck

kind regards.
dmjpro.
Thanks I am a total newbie. The url I want to go to is 2.htm everyday at 7pm CST what would the could be that I would need to insert in the page.
Thanks in advance for your help
May 24 '07 #7
Thanks I am a total newbie. The url I want to go to is 2.htm everyday at 7pm CST what would the could be that I would need to insert in the page.
Thanks in advance for your help
It is on the same domain and will be put on 1.htm I already have a timer refresh script on 2.htm, 3.htm etc that takes it to the next page when the audio is finished from each page.
May 24 '07 #8
acoder
16,027 Expert Mod 8TB
Do you want to redirect to that page or open a new window?

In your window onload, execute a function which runs at set intervals using setInterval. How often depends on how accurate you wish to be.

Then check out the Date object. Use that to determine the current time. If the time is right, either change the location using location.href=... or open a new window depending on what you want.
May 24 '07 #9
iam_clint
1,208 Expert 1GB
ok your trying way to hard i guess? use a windows scheduled task to open page2.htm at 7pm every day.
May 24 '07 #10
Do you want to redirect to that page or open a new window?

In your window onload, execute a function which runs at set intervals using setInterval. How often depends on how accurate you wish to be.

Then check out the Date object. Use that to determine the current time. If the time is right, either change the location using location.href=... or open a new window depending on what you want.
I am looking to redirect
May 24 '07 #11
ok your trying way to hard i guess? use a windows scheduled task to open page2.htm at 7pm every day.
Yes but it has to open the URL in the webcast browser not the default windows browser?
May 24 '07 #12
acoder
16,027 Expert Mod 8TB
I am looking to redirect
So use location.href to change the url.
May 25 '07 #13
So use location.href to change the url.
I have looked at all the suggestions and they are great, but I still can't get it to work. The Windows Task opens the page in IE no matter what I do it also opens a new instance of IE even if I have on already open which is a problem because I need to be logged in as a moderator to control the webcast. I already use timer script to go from 2.htm to 3.htm ect. All I need is a script to put on the index page that automatically goes to 2.htm at 7pm CST everyday. This would completely automate the webcast. I would be willing to make a donation or pay someone to not point me in the right direction, but provide me a working script. Thanks looking forward to your response.
May 26 '07 #14

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

8 posts views Thread by Victor | last post: by
14 posts views Thread by mikeoley | last post: by
19 posts views Thread by arunkumar_m2001 | last post: by
13 posts views Thread by Paul | last post: by
1 post views Thread by jmgro | last post: by
13 posts views Thread by David | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.