Trying to run a model / script as a scheduled task

Discussion created by swall on Jun 12, 2012
Latest reply on Aug 15, 2012 by brucejr312

I have created a model that will Analyze, Sync, and Compress data within a SQL Enterprise geodatabase (ArcGIS 10 SP4). The model runs fine in ArcCatalog. I exported the model to a python script and it runs fine in ArcCatalog as well. But when I run the python script as a scheduled task it seems to run but the data doesn't sync between the databases. I also tried the option of setting up a scheduled task to run a python script / bat file that calls the model itself. This doesn't seem to process properly. Not sure what I am missing but I'm not familiar with python so I don't really know where to begin. Any ideas are appreciated.