Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.