Solved

Email scheduled task results to people.

Posted on 2008-10-30
4
1,202 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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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 coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
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…

740 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