I've got a simple, one line .bat file that starts ArcMap and executes the PerfQAnalyer with parameters defining a set of extents and a log file. (See below). When executed from a Windows command line this works fine. When I add this to a scheduled task I can see ArcMap opening in the task manager, but it never actually does anything.
Any suggestions would be much appreciated.
"C:\Program Files (x86)\ArcGIS\Desktop10.2\bin\ArcMap.exe" "C:\PerformanceTesting\StandardMap.mxd" /sr /lst:"C:\PerformanceTesting\MapExtents.txt" /log:"C:\PerformanceTesting\TestLog.log" /seconds