Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 16th, 2005, 11:14 AM
Authorized User
Join Date: Feb 2005
Location: , , Ireland.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Scheduled task

I am trying to figure out how to call a page of code to update a datagrid on my site, using windows task manager. Can i schedule a page with an .asp extension or must i save it as an .exe?

I am using the code below to update the database at a certain time, but it wont add the record to the table. I have tried scheduling it as .asp and .exe but the table wont update. Would really appreciate any help, thanks in advance.

  Dim rsUsers, strUserId
  Set rsUsers = Server.CreateObject("ADODB.Recordset")
  rsUsers.Open "Members", objConn, adOpenForwardOnly,adCmdTable

  rsUsers("TraderName") = "works"
  rsUsers("Password") = "works"
  rsUsers("Firstname") = "works"
  rsUsers("Surname") = "works"
  rsUsers("EmailAddress") = "works"
  rsUsers("MobileNumber") = 999
  rsUsers("EmailUpdates") =True
  rsUsers("SmsUpdates") = false
  rsUsers("CashBalance") = 100000
  rsUsers("PortfolioValue") = 100000
  rsUsers("Active") = false

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add task in Scheduled Task programatically amitjoshipune C# 2 July 31st, 2008 05:42 AM
Getting the "Last Result" from a Scheduled Task? janama .NET Framework 2.0 1 April 29th, 2008 12:37 AM
In program Scheduled Task ginoitalo Pro VB 6 4 August 31st, 2004 11:32 PM
[c#]scheduled task maddonuts General .NET 1 July 7th, 2004 11:53 AM
Scheduled Task Ben Access VBA 1 February 24th, 2004 02:05 PM

All times are GMT -4. The time now is 12:01 AM.

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