Windows Task Scheduler

Page 1 of 2 12 LastLast

  1. Posts : 5
    Windows 7 64-bit
       #1

    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 Computer


  2. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #2

    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 Computer


  3. Posts : 5
    Windows 7 64-bit
    Thread Starter
       #3

    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 Computer


  4. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #4

    twt4757 said:
    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 Computer


  5. Posts : 5
    Windows 7 64-bit
    Thread Starter
       #5

    Its a web application running on a web server.
      My Computer


  6. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #6

    twt4757 said:
    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 Computer


  7. Posts : 5
    Windows 7 64-bit
    Thread Starter
       #7

    it is a web application running on IIS on a web server.
      My Computer


  8. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #8

    twt4757 said:
    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 Computer


  9. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #9

    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 Computer


  10. Posts : 5
    Windows 7 64-bit
    Thread Starter
       #10

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


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 18:11.
Find Us