VB Scripting of MS Scheduler

15 pts.
Tags:
VBScript
Windows administration
I am not very good a scripting, I believe in using things that have already been created and molding them into exactly what I need. In windows 2003 I need to monitor and then alert on the scheduler service process, i.e. has it been disabled or is it not working? If not working, then email X number of people that it's not working. Would anyone have a script either like this or similar to this?
ASKED: December 30, 2007  10:01 PM
UPDATED: January 7, 2008  3:46 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

This can be done natively from within Server 2003. In the services tab there is an option of what to do when the service fails. It allows you to choose either restart, nothing or run an external program.

That program can be a batch file with your commands that need to be run like a dialer program to beep someone or creating an email message to be sent via the default mail application.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • LeoNidan2007
    I don't believe this is correct, I'm not specifically talking about the scheduler services so much as the scheduled taskes run by the service. If a scheduled task is stopped, deleted, or fails, I'd need the ability to get a report for it, and alert the appropriate individuals so they can escallate it. If you actually go into the scheduled Tasks dialog and create a task, you'll find that it doesn't have the same properties for this type of alerting as say a service would within the services.msc (Task Scheduler). So, out of the 4 panes withing a Scheduled Task, there are: Task, Scheule; Settings; & Security. None of the tabs has the ability to run an external script to monitor it if it fails, etc. Thank you though, I appreciate your response.
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following