Solved

Query the results of W2K scheduled tasks

Posted on 2007-03-19
5
378 Views
Last Modified: 2008-01-09
I am looking for a way to query the results of a number of scheduled tasks. There are three essentials scheduled tasks on one of our servers, and I am building a way for us to easily monitor these. My end goal is to use the mailsend.exe program to automatically email us the results of these scheduled tasks (ie, mailsend.exe will be a scheduled task).

Therefore I need to know how to query the results of these scheduled tasks. There is a program called Log Parser that would work perfectly if I could find out how to create a "scheduled task audit policy" or something like that in MMC.
0
Comment
Question by:firstbankak
  • 2
5 Comments
 
LVL 38

Accepted Solution

by:
Shift-3 earned 500 total points
ID: 18753374
The Scheduled Tasks logfile is located at %systemroot%\SchedLgU.Txt.  You should be able to pull results out of it by searching on the names of the tasks.
0
 

Author Comment

by:firstbankak
ID: 18757340
Shift-3, that is interesting, I haven't seen that file before. Is there a way a batch file can search through this. Sort of like grep on linux?
0
 
LVL 38

Expert Comment

by:Shift-3
ID: 18760130
Yes, though it is tricky since the status messages and the names of the tasks appear on different lines.  This script looks like it might work:
http://www.jsifaq.com/SF/Tips/Tip.aspx?id=4663
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20294394
Forced accept.

Computer101
EE Admin
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Laptop recommendation for CPA accountant 8 73
How can I know if to trust a tool offered on a site 6 87
Filter IP range with PowerShell 1 29
DNS Setup 6 28
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

867 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

21 Experts available now in Live!

Get 1:1 Help Now