?
Solved

Email scheduled task results to people.

Posted on 2008-10-30
4
Medium Priority
?
1,204 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 1500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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.
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

801 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