Solved

Query the results of W2K scheduled tasks

Posted on 2007-03-19
5
380 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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access bios on restart 11 69
Microservices and Windows apps 5 47
Computer hardware speed units 9 60
Performance monitor user data collector set error 6 26
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

821 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