How to execute step based on day of the week.

Andrew S (2 posts)
August 24, 2019 01:36 PM
Accepted Answer

I am new in adTempus. I created the job with 2 steps that execute SQL stored procedures. The first step suppose to run every day but second step only on Sundays. What is the easiest way to set it up?

Bill Staff (599 posts)
August 25, 2019 09:36 AM
Accepted Answer
You can do this with a condition script. Please see this article for an example.
Andrew S (2 posts)
August 25, 2019 12:17 PM
Accepted Answer
Thank you Bill. When i am trying to validate the script i am getting message "Message Number: ADT005061E
Message: The task host process started but did not establish communication with the adTempus service" May be .NET components missing from server? (adTempus 4.0  Windows Server 2008R2)
Bill Staff (599 posts)
August 26, 2019 05:13 AM
Accepted Answer

It's not a .NET problem or none of adTempus would work. Something is going wrong with the adTempus script host process. You can try restarting the adTempus service. You can also try running the job and see if the script succeeds then. Otherwise you will probably need to open a support case so we can figure out what's going on.

 

Replies are disabled for this topic.