Hi,
I had thought the fault is with the composition of the model rather than the script failing as I started to get locks from running the model direct as well as the scheduled task. Instead of overwriting the feature class I adjusted the model (after versioning the feature class in the Sde) to delete features/attributes then append the updated features/attributes then apply priviliges.
From looking at an other post on this thread you can determine if your model is failing or if your scheduled task is failing by opening the scheduled task properties, click the actions tab, highlight your task, click edit to show the path to your script eg: "\Python Scripts\YOURSCRIPT.py" then opening a command window, right click, paste then enter. This will run your python script - or any other .bat file etc directly.
Unfortunately I am still getting a (0x1) error.
There was some advice from melanie about code;
import arcpy
arcpy.ImportToolbox(�??c:/mytools/geometrytools.tbx�?�, �??mytools�?�)
arcpy.CreateRegularPolygons_mytools(parameter1, parameter2)
but I am unsure where to add this code.
Thanks
Mark