Solved

Query the results of W2K scheduled tasks

Posted on 2007-03-19
5
377 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Forced accept.

Computer101
EE Admin
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Update 11/3/2014 - Although the below article will get you to relocate the WINSXS folder, Microsoft has finally released a utility to reduce the size of the WINSXS folder. For some reason, it's not that straightforward. It only works on Windows 2008…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

771 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

10 Experts available now in Live!

Get 1:1 Help Now