Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I have a ASP page check the time and do ...

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
How can I have an ASP page check the time and do something based on time and not on a user clicking.
The program or script has to run 24-7 on and ISP server and be able to open pages and pass data without user intervention.

I prefer to use VBScript and ASP

Any Ideas
TIA
DougP, MCP

Visit my WEB site to see how Bar-codes can help you be more productive
 
What exactly do you need the asp page to do? It seems more like you may need to script a .wsh file and leave it on the server as a scheduled service.

smbure
 
I want to allow users to Bid on E-bay auctions without having their PC turned on. They would go to this site, pay of course, key in the auction number and their max bid. The site or program would find the Ending Date and time of the auction and 10-20 seconds before bidding is closed, bid for them. So this could happen at 3:41am say, while they were asleep. Yes I know there is a Proxy bid process but this is the best. DougP, MCP

Visit my WEB site to see how Bar-codes can help you be more productive
 
Doug, There already exists mission-critical software for just that purpose, though it works on the user's PC, not the server. It does dial in and log out automatically so obviously, the PC needs to be on. There are so many variables involved, such as eBay's time server not necessarily being in sync with atomic time, connection lags between eBay's server and the remote one, that it would take some very sophististicated programming to do it in VBscript to be fault-tolerant. I would be curious if you succeed though.

Don
don@ctagroup.org
Experienced in HTML, Perl, VBScript, PWS, IIS and Apache. Run OS/2 Warp 4, BeOS v5 and Windows NT (only when I have to!)
 
Thanks Don,
See that's what makes this so attractive. Is the Server is handling everything which lets users turn off their PC.
I realize the time difference issue
Also I would have a disclaimer which would leave us out of the legal portions
I need a starting point though.

Could this be a T-SQL driven thing on SQL Server 7?
It just needs to send out a HTML string through a browser at a specific time.

Htttp://ebay.com/ladedah lade dah
DougP, MCP

Visit my WEB site to see how Bar-codes can help you be more productive
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top