If I'm not mistaken, you can schedule iexplore.exe with a URL as a
parameter.  So then, in effect, if the URL is an ASP/ASP.NET page that
accomplishes some desired task, then you can schedule the running of
page.

For example, choose "Run..." from the Start menu and enter the
following:

     iexplore.exe http://www.cnn.com

So why not try:

     iexplore.exe http://www.yourserver.com/sendanemail.asp 

You would have to try it to see if it works, but I think it would.  It's
kind of clunky, though.  Really the proper way to accomplish this is to
schedule a program or script.

I suppose there might be a time when a person wishes to schedule a very
complex ASP page, and the code in that page is too complicated to turn
into a stand-alone executeable or script.  In that case, for the sake of
efficiency, you could create a simple .NET program that hits the desired
URL, receives the response, and adds an entry to a log to verify the
results.  This would only require about 10 lines of code.

Hope that helps.

- Vieth

> -----Original Message-----
> From: Lil Peck [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 22, 2004 11:54 AM
> To: [email protected]
> Subject: [ASP] Re: How to send email at scheduled time
> 
> 
> 
> 
> Perhaps this will be helpful (IIS cron):
> 
> http://www.iiscron.com/
> 
> 
> 
> 
> --- In [email protected], "moklesurr" 
> <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > Hi All,
> > 
> > We would like to send email at scheduled time everyday, 
> possibly using 
> > ASP. The email list and other information will come from a
> SQL 
> > server database. 
> > 
> > Will it be possible to do it with ASP? How to schedule an ASP task?
> > Thanks for shedding any light on it.
> > 
> > -Mokles
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~--> Make a clean sweep of pop-up ads. 
> Yahoo! Companion Toolbar.
> Now with Pop-Up Blocker. Get it for free!
> http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM
> --------------------------------------------------------------
> ------~-> 
> 
> --------------------------------------------------------------
> -------    
>  Home       : http://groups.yahoo.com/group/active-server-pages
> ---------------------------------------------------------------------
>  Post       : [email protected]
>  Subscribe  : [EMAIL PROTECTED]
>  Unsubscribe: [EMAIL PROTECTED]
> ---------------------------------------------------------------------
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [email protected]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> 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/
 



Reply via email to