• How are you controlling the restart of the SQL Agent?

    I've done somethig simular in the past and used a powershell script that was called from the Windows Scehduled task to control the resarting of the agent. I guess it could be done from the SLQ Agent though by forking a powershell script to run outside the SQL Agent process...