Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows Task Scheduler

23 Oct 2013   #1
twt4757

Windows 7 64-bit
 
 
Windows Task Scheduler

I have an application on a web server that occasionally hangs when a user tries to access and will eventually time out. A restart will fix the issue, but I wanted to put some sort of task in place that would automatically restart if it detected a lag/hang/timeout in the application as opposed to someone going into the web server and doing it manually.

Does anyone know how I could set this up using the windows task scheduler? I see a way to preform an action when a specific event is logged, but I'm not sure how to configure it to pick up on a specific application timing out/hanging.

Any help would be greatly appreciated.

Thanks.


My System SpecsSystem Spec
.
23 Oct 2013   #2
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

What webserver software? Is it a php application, or sort of plugin so a DLL? Please explain.

Waht fixes it, simply restarting webserver or the application?
My System SpecsSystem Spec
23 Oct 2013   #3
twt4757

Windows 7 64-bit
 
 

It is a web application and it will require a restart of the service, which I already have a custom .bat file to handle.
My System SpecsSystem Spec
.

23 Oct 2013   #4
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by twt4757 View Post
It is a web application and it will require a restart of the service, which I already have a custom .bat file to handle.
So not a webserver at all?

It's a service listening on a tcp/ip port ... just like a mailserver or database server?
My System SpecsSystem Spec
23 Oct 2013   #5
twt4757

Windows 7 64-bit
 
 

Its a web application running on a web server.
My System SpecsSystem Spec
23 Oct 2013   #6
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by twt4757 View Post
Its a web application running on a web server.
web server is a piece of software like apache or IIS ?
Or do you mean by saying web server: The hardware where I host web applications
My System SpecsSystem Spec
23 Oct 2013   #7
twt4757

Windows 7 64-bit
 
 

it is a web application running on IIS on a web server.
My System SpecsSystem Spec
23 Oct 2013   #8
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by twt4757 View Post
it is a web application running on IIS on a web server.
Whole IIS is hanging than, or only the application (is it a DLL?)?
My System SpecsSystem Spec
23 Oct 2013   #9
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Are you simply killing the web application process and restarting it to make it work again (for some time)?

Is it in a loop, or just freezing?
My System SpecsSystem Spec
23 Oct 2013   #10
twt4757

Windows 7 64-bit
 
 

Right, just killing the process then restarting. It's not the whole server or IIS that's freezing, just one application.
My System SpecsSystem Spec
Reply

 Windows Task Scheduler




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Task Scheduler - Create Task to Display a Message Reminder
How to Display a Message Reminder in Windows with Task Scheduler This will show you how to create yourself, or another user or group, a message reminder scheduled to display for when and how often you like in Windows 7 or Vista using Task Scheduler. All users on the computer will be able to...
Tutorials
Need help creating a task scheduler task to move files over a network.
Hello everyone, I need to have a task run that will move the contents of a folder from one computer to another over my home LAN. Files get downloaded during the night on one computer and then need to be transfered to another. Usually I am doing this by hand, but then though maybe I could get...
General Discussion
Task scheduler unable to load task status/active tasks at startup.
My task manager is unable to load task status/active tasks at startup. I get the message: "The selected task "{0}" no longer exists. To see the current tasks, click Refresh." When I refresh I get the same message. I checked and found that under Microsoft the problem was in the defrag...
Performance & Maintenance
How do I disable a task in the windows 7 Task Scheduler?
Firstly, I'd like to thank you for taking your time and reading this. Now, let's talk about the issue that's driving me loco. I scheduled a task for my computer to shut itself down at 1 AM, I was tired, I can't remember if I ticked "do this daily" or not, but it does this every day and for...
General Discussion
Windows Task Scheduler
I'm trying to run a task every 12 hours, but doesn't seem to work, keeps saying an instance of the task is already running but nothing happens, how do I run it every 12 hours?
General Discussion
Task Scheduler failing to start task with merged network locations
I have two routers I usually connect to (work and home) and each have wireless access. That means there are essentially 4 network locations I have listed. I have merged each respective network location (wired and wireless) into their own singular network location - "Work" and "Home". I also...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:44.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App