Solved

Email scheduled task results to people.

Posted on 2008-10-30
4
1,203 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

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.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
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 …

726 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