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 March 30th, 2006, 10:05 AM
Authorized User
 
Join Date: Sep 2004
Posts: 62
Thanks: 0
Thanked 1 Time in 1 Post
Default Launching ASP Page with Windows Task Scheduler

I am looking for a way to launch an ASP page I have written at 12:01 each day on a Windows 2003 server machine. I assumed I could just point to the ASP page located in inetpub and it would run - however this simply opens it in notepad, or shows the plain text when opened in I.E. Does anyone know how this can be done so that it actually launches as if an outside user is accessing the page?

 
Old March 30th, 2006, 08:43 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

yes, linking directly to the file will not work because you calling it outside the realm of IIS. without giving it much thought you could set IE's default homepage to the URL of the file you want call and then set up a task that opens IE at 12:01. Regardless of what you decide to do, there will have to be some browser interaction OR figure out how to directly interface with IIS and have it process the file as if a user were hitting your website. My .02 anyway.

"The one language all programmers understand is profanity."





Similar Threads
Thread Thread Starter Forum Replies Last Post
Scheduled Task for Windows XP SQLScott Pro Visual Basic 2005 1 September 12th, 2008 09:38 AM
Windows task scheduler / batch file Earl Hickey Other Programming Languages 0 February 1st, 2008 11:04 AM
How To Create Task Scheduler in VB.Net htyeoh VS.NET 2002/2003 0 July 23rd, 2006 11:18 PM
ASP launching exe question - URGENT! Rammek Classic ASP Basics 2 October 26th, 2004 05:30 PM
windows task scheduler using VB Karthikv21 Beginning VB 6 0 July 2nd, 2004 04:56 AM





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