Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 11th, 2003, 06:52 AM
Registered User
 
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default automatic execution for ASP page in regular base

Please I want to know how to run ASP automatically in regular base, for example every 1 hour

 
Old November 11th, 2003, 10:55 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

There's no built in way to do this, mainly because the medium of ASP is not designed for schedule-ability. You might consider writing a local VBScript file that you could run with the operating system scheduler.

What do you need to do every hour? There may be an even better solution depending on what you want to do.

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old November 12th, 2003, 02:22 AM
Registered User
 
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your interested
Actually I have 1 ASP page, I want it to run automatically to check something in the database every 1 hour, is there any way to do that , or can I configure any think in IIS server to make it work .. is there any way for that .
Thanks


 
Old November 12th, 2003, 01:14 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Is your asp page doing something within the database? If you are using MS-SQL Server you could set up an automated job to run a DTS package or a stored procedure to do what you need. I don't know another other DBs however. If you actually have to run VBScript you might need to look into a local solution.

Peter
------------------------------------------------------
Work smarter, not harder.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How is automatic switch to login page enabled? David Anderson BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 September 3rd, 2008 04:59 PM
How to do automatic page setup in word yogeshyl Word VBA 0 May 7th, 2008 05:15 AM
Time page execution mat41 Classic ASP Professional 0 August 15th, 2007 01:16 AM
automatic page generation rahulcbr Beginning PHP 1 October 25th, 2006 06:16 PM
Automatic Expiry of Page problem. gaurav_jain2403 VS.NET 2002/2003 0 February 6th, 2006 02:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.