Solved

Query the results of W2K scheduled tasks

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Filter IP range with PowerShell 1 40
Extra security implementation for 2017 9 49
default domain policy exemptions 4 33
server core and windows updates 3 38
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 get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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.

813 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

18 Experts available now in Live!

Get 1:1 Help Now