I have a Python script that runs ArcPy and a model that is imported with a Toolbox.
When directly running the model on ArcMap, it takes 4 plus minutes. It takes about the same time if running in the Windows Command Prompt window. E.g.
However, if I run the script in a Windows Scheduled Task, it takes 8 minutes to complete.
One of the processes in the model that makes a big difference is "Tabulate Area". It takes 14 seconds in ArcMap while 44 seconds when run as Scheduled Task!
Running in command prompt and running the scheduled task are done on the same machine.
My environment: ArcMap 10.1, Windows Server 2008 R2 Enterprise, Python 2.7.2.
Why is there this performance difference?