Script not working correctly

computerbryon (1 post)
February 13, 2008 10:27 AM
Accepted Answer
I have a script that i have written that works great outside of AdTempus.
If I take the same working script and copy paste it inside of adtempus then is doesn't work.
Now what I am left with is a script that is started by adtempus and fails by hanging with a message on the screen sometimes.
 
When it does hang adtempus thinks the script is done and doesn't report an error.
I wanted to put the script inside adtempus to maybe see if then it would recognize that it was hung.
 
Any help with this would be greatly apprisated.
Bill Staff (604 posts)
February 13, 2008 08:24 PM
Accepted Answer
In what way is the script not working? What is the message that it's displaying?

adTempus will not think the script is done unless it actually finishes running, or the script engine terminates it because it's been running too long (in which case, however, there wouldn't be a message box still showing).

Be sure you have set the maximum run time to "-1" for both the script and the script step of the job--this tells adTempus that there's no time limit for the script. If you use the default value of "0", the Windows Script Host may abort the script if it things the script is hung, and we've found that the Script Host often terminates scripts that aren't actually hung.

Replies are disabled for this topic.