Solved

Email scheduled task results to people.

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Explore the encryption capabilities built into Google Apps and how these features can help you meet privacy policy and regulatory compliance, but are not a full solution. Understand and compare the most popular email encryption services for Google A…
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 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…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now