[windows2000] Re: Tasks and emails

  • From: "Beckett, William (Bill)" <WBECKETT@xxxxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Tue, 18 Dec 2007 08:04:19 -0500

Will give it a shot, thanks Berny 

-----Original Message-----
From: windows2000-bounce@xxxxxxxxxxxxx
[mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Berny Stapleton
Sent: Monday, December 17, 2007 5:27 PM
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Re: Tasks and emails

if %ERRORLEVEL% = >0 then blat failure else if %ERRORLEVEL% = 0 blat
success ?

On 17/12/2007, Beckett, William (Bill) <WBECKETT@xxxxxxxxxxxxx> wrote:
> Yeah, that's pretty simple. Wondering if there was a way to step it up

> to converting the result code to a simple one word email that gets 
> sent stating Success or Failure but the entire log file would work too
>
> -----Original Message-----
> From: windows2000-bounce@xxxxxxxxxxxxx 
> [mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Berny Stapleton
> Sent: Monday, December 17, 2007 3:56 PM
> To: windows2000@xxxxxxxxxxxxx
> Subject: [windows2000] Re: Tasks and emails
>
> blat - It's a command line emailer, I create a log file with it and 
> email the log file.
>
> On 17/12/2007, Beckett, William (Bill) <WBECKETT@xxxxxxxxxxxxx> wrote:
> >
> >
> >
> > I'm sure someone has set this up before but I have a scheduled task 
> > that runs daily. I'd like to set it up where it can email me with a 
> > return status code of 0 (success) or 1 (failure). What's the easiest
> way to do this?
> >
> >
> > Windows 2K Advanced server
> *****************************
> New Site from The Kenzig Group!
> Windows Vista Links, list options
> and info are available at:
> http://www.VistaPop.com
> *****************************
> To Unsubscribe, set digest or vacation mode or view archives use the 
> below link.
>
> http://thethin.net/win2000list.cfm
> *****************************
> New Site from The Kenzig Group!
> Windows Vista Links, list options
> and info are available at:
> http://www.VistaPop.com
> *****************************
> To Unsubscribe, set digest or vacation mode or view archives use the 
> below link.
>
> http://thethin.net/win2000list.cfm
>
>
*****************************
New Site from The Kenzig Group!
Windows Vista Links, list options
and info are available at:
http://www.VistaPop.com
*****************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm
*****************************
New Site from The Kenzig Group!
Windows Vista Links, list options
and info are available at:
http://www.VistaPop.com
*****************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: