Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a scheduled task set up in Windows task scheduler. It runs on a particular time of the day. Once the job is completed (action 1 - the job itself) there is another Action (action 2) that is a Bmail program (command line tool to send emails without the need for a SMTP client installed) that is executed. Right now, the Bmail program sends an email successfully irrespective of the 'action 1' failing or running. I want the email to be detail specific, tell me if the first job action 1 failed or ran successfully Or may be email to be sent ONLY when the first job runs successfully. Thanks for the help.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.