Wrox Programmer Forums
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. 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 Databases 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 29th, 2005, 12:22 PM
Authorized User
Join Date: Nov 2005
Posts: 72
Thanks: 3
Thanked 0 Times in 0 Posts
Default Updating table every now and then


Is there a way I can give a command it will execute an SQL Syntax every x minutes?
I need to update a table every x minutes with new data from other tables....

I thought of executing a page every x minutes from the page the user is watching the data.

Can this be done?



Old December 1st, 2005, 02:22 PM
Friend of Wrox
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post

Hi David,

Could you create the file as a vbs / js / wsf script file and execute it using the windows task scheduler on the server?



Old December 2nd, 2005, 03:12 AM
Authorized User
Join Date: Nov 2005
Posts: 72
Thanks: 3
Thanked 0 Times in 0 Posts

Hi Chris,

I will take a look at it. At this moment I tried the next:

Created an ASP Page which contains the SQl Syntax and in the <HEAD> I have a refresh command for every 120 secs. So this way it will update the table with new data.

This page will be executed on the server.... Still it isn´t the best way, but works. Maybe I will make a little EXE in Powerbuilder and run it in the sheduler on the server

Thx for the great idea!



Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating one table with data from another table dirtdog22 Access VBA 1 January 21st, 2008 04:41 PM
Updating Table gregalb SQL Server 2000 1 June 2nd, 2007 04:39 PM
Updating table Hudson40 Access VBA 6 March 23rd, 2005 12:07 PM
Instant updating of table Hudson40 Access VBA 2 January 26th, 2005 11:52 AM
updating table markhardiman Classic ASP Databases 2 September 29th, 2004 12:35 PM

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