Schedule a script: AttributeError: 'module' object has no attribute

Discussion created by gismoe on Jul 15, 2011
Latest reply on Jul 22, 2011 by stacyrendall
I want to schedule a script to recreate the cachetiles of an ArcGIS Server.

Here is my script:

import arcpy
arcpy.ImportToolbox(r"C:\Dokumente und Einstellungen\USER\Anwendungsdaten\ESRI\ArcToolbox\ALKIS", "TBX")

This Code should start an Model named Cache_recreate. The Model works fine. But if i start it with py i get this error:

AttributeError: 'module' object has no attribute 'Cache_recreate_TBX'

Any ideas?