Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Timed Emails by CSCRIPT.EXE!!


Message #1 by "Arijit Mallick" <arijit.mallick@i...> on Thu, 28 Jun 2001 09:42:36
Hi All,

I needed to send a scheduled email at fixed intervals.

I used the NT Task Scheduler to fire "CSCRIPT.EXE c:\file.vbs" where 

file.vbs sends the mail using CDONTS.



It works fine except that whenever it fires, the command window splashes 

onto the monitor of the web server for barely a second and after that it 

automatically closes.

Can anyone suggest how to prevent the black window coming up????



Thanx in advance,

Arijit.
Message #2 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Thu, 28 Jun 2001 10:25:04 +0100
try wscript instead of cscript - does it really matter though?



-----Original Message-----

From: Arijit Mallick [mailto:arijit.mallick@i...]

Sent: 28 June 2001 10:43

To: ASP CDO

Subject: [asp_cdo] Timed Emails by CSCRIPT.EXE!!





Hi All,

I needed to send a scheduled email at fixed intervals.

I used the NT Task Scheduler to fire "CSCRIPT.EXE c:\file.vbs" where

file.vbs sends the mail using CDONTS.



It works fine except that whenever it fires, the command window 

splashes

onto the monitor of the web server for barely a second and after that 

it

automatically closes.

Can anyone suggest how to prevent the black window coming up????



Thanx in advance,

Arijit.



Message #3 by "Siegfried Weber" <sweber@c...> on Thu, 28 Jun 2001 11:34:49 +0200
Try to use wscript.exe instead.



<Siegfried/>



> -----Original Message-----

> From: Arijit Mallick [mailto:arijit.mallick@i...]

> Sent: Thursday, June 28, 2001 11:43 AM

> To: ASP CDO

> Subject: [asp_cdo] Timed Emails by CSCRIPT.EXE!!

>

> Hi All,

> I needed to send a scheduled email at fixed intervals.

> I used the NT Task Scheduler to fire "CSCRIPT.EXE c:\file.vbs" where

> file.vbs sends the mail using CDONTS.

>

> It works fine except that whenever it fires, the command window

splashes

> onto the monitor of the web server for barely a second and after that

it

> automatically closes.

> Can anyone suggest how to prevent the black window coming up????

>

> Thanx in advance,

> Arijit.



Message #4 by "Arijit Mallick" <arijit.mallick@i...> on Fri, 29 Jun 2001 06:26:00
Thanx,

it works just fine woth wscript.

  Return to Index