Found out that I can create a batch file (.bat).
In the batch file I just put this:
start http://www.myWebPageNameWithTheCode.aspx
Then I run it either in a startup folder or by the
scheduler.
--- Nelson Hall <[EMAIL PROTECTED]> wrote:
>
> Karen,
>
> One idea would be to create an asp page that would
> do the checking and
> send the email as needed. You would then need to
> schedule a job on one
> of your PCs to visit that particular page every
> morning. You can create
> a simple script using the MSXML HTTP object to hit
> the page. Below is
> some sample code. You'll need to save this as a .vbs
> file and then
> browse to its location using Task Scheduler.
>
> Sub MyASPJob()
>
> Dim oXMLHttp
> Dim sURL
>
> on error resume next
>
> Set oXMLHttp =
> CreateObject("MSXML2.XMLHTTP.3.0")
> sURL =
> "http://www.yourserver.com/scheduledpage.aspx"
>
> oXMLHttp.open "GET", sURL, false
> oXMLHttp.send()
>
> Set oXMLHttp = nothing
>
> End Sub
>
> Call MyASPJob()
>
> HTH,
>
> Nelson Hall
> Application Architect
> American College of Cardiology
> 301-581-3489
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
>
> ________________________________
>
> From: Karen Kungowski [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 10, 2005 4:28 PM
> To: [email protected]
> Subject: [AspNetAnyQuestionIsOk] How to schedule
> sending an email
>
>
> I'm trying to figure out a way to query an Access
> table and send an email if certain criteria is met.
> This has to happen every morning automatically.
>
> I don't think my ISP is going to let me futz with
> any
> schedulers on their server.
>
> Any ideas? Something like Sleep?
>
>
>
> __________________________________
> Do you Yahoo!?
> The all-new My Yahoo! - Get yours free!
> http://my.yahoo.com
>
>
>
>
> ________________________________
>
> Yahoo! Groups Links
>
>
> * To visit your group on the web, go to:
>
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
<mailto:[EMAIL PROTECTED]
> cribe>
>
> * Your use of Yahoo! Groups is subject to the Yahoo!
> Terms of
> Service <http://docs.yahoo.com/info/terms/> .
>
>
>
>
> [Non-text portions of this message have been
> removed]
>
>
>
>
> Yahoo! Groups Links
>
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>
>
> [EMAIL PROTECTED]
>
>
>
>
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/