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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[b][red]help on running an asp program automatically[/red/[/b]

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I want an asp program to run automatically at a given time
 
Do you want it to run periodically, or just at a certain time?<br><br>If it just needs to run once every so often, then each time the page is refreshed/visited have it check the current Date/Time (vbscript) and if it's not already been run (use a session variable and time stamp) for that given time then run the application.<br><br>If it needs to be run at a guarenteed time then...? <p>Ben Marshalsea<br><a href=mailto: > </a><br><a href= > </a><br>
 
Dear navnitvaru,<br><br>As a 'hack' solution that is completely browser based you could design a page that uses client side script employing the timeout feature and using it like an 'alarm clock'. <br><br>When the designated time arrives the script would open a new window using the .asp page you need to execute as the url. The resultant page could contain a client script to close it's window in the body.onload event. This solution is reliant on the using the browser and a windows desktop session.<br><br>For a more 'server' centric solution you would create an NT Service that simply requests the .asp page from the web server at the designated time. <br><br>One then wonders why the operations in the .asp page are not developed as a service to begin with?<br><br>Good luck<br>-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top