Solved

Email scheduled task results to people.

Posted on 2008-10-30
4
1,199 Views
Last Modified: 2010-05-18
I have a scheduled task that runs nightly that copies a mdb database from one server to another.  I need a way to email the results of the scheduled task to me and another so we don't have to check every morning to see if the task completed succesfully.
0
Comment
Question by:InvisibleTerror
  • 2
4 Comments
 
LVL 1

Expert Comment

by:wellsuited
ID: 22846472
Why not create a bat file and add it to your schedule. Here are the instructions http://www.debianhelp.co.uk/mail.htm
0
 
LVL 14

Expert Comment

by:dfxdeimos
ID: 22846476
Check out this link:

http://www.msexchange.org/articles/Sending-Email-without-Client.html

You could create a batch script with that information that is referenced at the end of your other task, when it kicks off it would drop the pre-canned e-mail into the Exchange pickup directory and send it out.
0
 

Author Comment

by:InvisibleTerror
ID: 22846608
Neither of those solutions includes the issue of sending the results of the scheduled task.  That is the key point of the email.
0
 
LVL 14

Accepted Solution

by:
dfxdeimos earned 500 total points
ID: 22846633
If the scheduled task is a script or batch file and it outputs the results you can just pipe them (>>) into a txt file with the preformatted e-mail header and then call a script / add a line that drops the txt file into the pickup directory of the Exchange server.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I didn’t use eM Client for long when I decided to swap to Outlook 2016. The reason for the switch is that it started asking for payment to continue some of its services after one month.   The problems I faced when I didn’t pay were:   I was not …
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question