I followed the steps denny wrote in the FAQ, add a robocopy job in SQL Server, when I manually start the job it works fine, but when schedule it, it doesn't work, can anybody give me clue? The command in the batch file:
robo.bat:
dir /B /S /A-D e:\san\temp > dellist.txt
for /f "tokens=1" %%a in (dellist.txt) do del "%%a" /F /Q
robocopy d:\san\backups e:\san\temp /MOV /MINAGE:2
then I put a line in the job:
cmd /c robo