Forum Discussion

Randy_Thomas's avatar
Randy_Thomas
Copper Contributor
Aug 27, 2021

Task Scheduler

I need some help setting up the task scheduler on a second server, so if one server isn't available the tasks will still get run

  • Reza_Ameri's avatar
    Reza_Ameri
    Silver Contributor
    I am not sure about your configuration but generally when the other server is not available , it should have certain condition for example if let say if they are communicating and the server is not responding (not available), it should create some error log in the event viewer.
    In this case, you may open Task Scheduler and create a new task and under Triggers tab, create a New... and Begin the task and select On an event, select the event associated with the condition when server is not available.
    Otherwise, you will need to run a PowerShell script and keep it running all the time and then define condition to identify when server is not available and run the task.

Resources