So i had to restart IIS every day at 11 pm . I did not want to run the .bat file in a command prompt so i went looking ....
Put the iisrestart.vbs file into a scheduled job .
Details
C:\scripts\iisrestart.bat
\@echo off
REM - File: iisrestart.bat
echo Restarting IIS...
echo ======================================================
net stop W3SVC
net start W3SVC
echo ======================================================
echo IIS Restarted
C:\scripts\iisrestart.vbs
Set WshShell = CreateObject("WScript.Shell" )
WshShell.Run chr(34) & "C:\scripts\iisrestart.bat" & Chr(34), 0
Set WshShell = Nothing