Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Com to exe to schedule it


Message #1 by dont worry <aspmailbox@y...> on Tue, 13 Feb 2001 10:15:43 -0800 (PST)
asp_components@p...

Problem, need a script to take emails from table and

send them an email once a day.  I canNOT schedule asp

file so I' was thinking to take an asp file and turn

it into an exe that I can schedule to run once a day.

Is this possible?  Can I put include files in exe

file, like asp file?  How should I get this done?



Message #2 by Imar Spaanjaars <Imar@S...> on Tue, 13 Feb 2001 22:04:54 +0100
Look at the Windows Scripting Host.



You can download this at http://msdn.microsoft.com/scripting/



Basically, the WSH is another run-time engine to run VBScript scripts. 

Effectively, you can take an ASP page, make a few minor modifications, and 

then your pages like you normally would. The beauty of this is that WSH 

files (with extension .vbs or .wsh) can be scheduled with the NT scheduler 

like normal programs. SO you have the ease of development of ASP and the 

desktop functionality of VB programs, for example.



Also check out: http://www.windows-script.com/



I personally have used the WSH for scheduling the retrieval and processing 

of mail, updating databases, cleaning tasks like deleting temp files etc etc.



HtH



Imar





At 10:15 AM 2/13/2001 -0800, you wrote:

>asp_components@p...

>Problem, need a script to take emails from table and

>send them an email once a day.  I canNOT schedule asp

>file so I' was thinking to take an asp file and turn

>it into an exe that I can schedule to run once a day.

>Is this possible?  Can I put include files in exe

>file, like asp file?  How should I get this done?




  Return to Index