blomm

Scheduled task to call a batch file calling a python script - python not executing

Discussion created by blomm on Dec 29, 2011
Latest reply on Jan 3, 2012 by hzhu
Hello,

I'm not sure the above is possible tbh.

The python calls within the batch file are just skipped over, no errors. 

The account calling the sched task has the necessary file/folder/sqlserver permissions, in fact, when I open a command line window and run the batch file from here (as the same user executing the sched task), everything works fine.

It's really just from within the sched task that things don't work.
Interestingly, if I make the user sysadmin, the sched task can then perform the python sections.

It's a 64 bit windows server 2008 R2 box, arcgis 10 sp3, python 2.6

What we think it really comes down to (when running under a scheduled task) how the Python script is talking to ArcGIS system (potentially around licensing ? lot of references to FlexLM missing when analyzing a trace where it fails).

This is really puzzling me. Help please!

Mike

Outcomes