473,392 Members | 1,462 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,392 software developers and data experts.

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

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

Similar topics

8
by: Victor | last post by:
I need a JavaScript timer - I have five events I need to time, that can be triggered by a mouseclick event, or a keypress event. Each event is separated by only one to two seconds. The first...
14
by: mikeoley | last post by:
Why would this script below work on an html page: http://www.eg-designdev.com/aircylinders/test.htm But not a java page such as this: "http://www.eg-designdev.com/aircylinders/index3.jsp" Or...
19
by: arunkumar_m2001 | last post by:
Can Somebody help me to code a timed test. Actually I want to implement a timer in a web application which will pop-up an alert automatically by refreshing the web page after a specific time. ...
13
by: Paul | last post by:
Hi I have a .net application that shows the start page for a few seconds and then goes to another start page. I was wondering if it would be possible to put a count on the page to let the user...
1
by: jmgro | last post by:
I have spent way too much time trying to solve the following problem: I have a datalist with a timer in the footer template. It works wonderfully except when the user pages back, then forward,...
13
by: David | last post by:
Hi, Im not sure where to find all the documentation i need for this? I need to timer since a start button has been pushed, and show a counter on a page. If they click stop i want to keep the...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
4
by: puntino | last post by:
Hi I have created my Alarm, at compile time I don't have any problem, but at run time I receive the follo wing messages: Exception in thread "main" java.lang.NullPointerException at...
3
missshaikh
by: missshaikh | last post by:
Hi all, i need the count down timer when button click the timer start and count down work on ASP.net :( i have one timer which is on JavaScript that run page onload . but i need the Button...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.