Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services 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 January 3rd, 2008, 01:01 PM
Authorized User
 
Join Date: Jul 2006
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default Scheduling a web service to run automatically

I have a web page that calls a web service, but I want to schedule that to run automatically on a daily basis so I don't have to click on the link to load the web page every day. How do I accomplish this?

 
Old January 4th, 2008, 12:36 PM
Authorized User
 
Join Date: Jul 2006
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Answered my own question. I used Windows Task Scheduler to kick off this vb script daily:

Set oServerXML = CreateObject("Msxml2.ServerXMLHTTP")
oServerXML.Open "GET","http://suvettes24/3c/default.aspx", False
oServerXML.setRequestHeader "Content-Type","application/x-www-form-urlencoded"
oServerXML.send
Set oServerXML = nothing






Similar Threads
Thread Thread Starter Forum Replies Last Post
run automatically...help plz lom2pac Access 2 August 7th, 2006 10:42 AM
Scheduling a stored procedure to run every 30 minu palvin SQL Server 2000 6 August 4th, 2005 08:57 AM
Run query automatically mateenmohd SQL Server 2000 9 March 28th, 2004 03:35 PM





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