• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
        • Enterprise Synthetic Monitoring
      • Synthetic Classic
        • Synthetic Classic Open Q&A
  • Home /
  • Public Forums /
  • Network Application Monitoring /
  • Enterprise Synthetic Monitoring /
avatar image
Question by Tomislav F. · Mar 02, 2016 at 12:31 PM · agent esm agent manager console

Order of Script Execution on same Robot?

Hello,

Where can I find out in what order multiple scripts will be executed on the same Robot?

I have checked all hidden columns in the Synthetic Console after deploying a script. There is a column "Last Start Time" in the Deployment View. After a few executions, one could infer the sequence by comparing the timings in this column. Another way would be to simply watch the actual script executions on a Robot. The Synthetic Monitoring Tray icon on the bottom right corner of an agent gives an indication of what single script will run next, but not the full order of multiple scripts. I am looking for a way to determine in what order the scripts will be executed on one Robot.

If there is such a view, is it possible to change the execution order of multiple scripts on the same Robot?

Best regards

Tomislav

Comment
Thomas B.
Caroline Z.

People who like this

2 Show 1
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image Tomislav F. · Mar 02, 2016 at 12:36 PM 0
Share

I think I found the answer to my second question of how to influence the execution order => "Group Tasks" as explained here

However, if there are no Group Tasks configured, it would still be interesting to know the execution order.

4 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image
Best Answer

Answer by Ernest J. · Mar 02, 2016 at 02:05 PM

I would also point out that you can set the priority assigned to the task itself, without having to create a group. In the task configuration you can change the priority to a different level (Low, Medium,High); please refer to Modifying a Task. For absolute control of the sequence you would need to use group tasks.

Comment
Benjamin W.

People who like this

1 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image

Answer by Luke B. · Mar 15, 2016 at 10:34 PM

I've found in our environment the execution order seems to be influenced by two factors: the task priority (High to Low) and the estimated execution time for the task (lowest to highest). I think the intention is that if a robot will end up running out of time before the next interval, it will prioritize getting the most tasks done (of course completing all higher priority tasks first). I'm not sure what happens in the event of a tie, but it might be sorted by the time that the task was first created (or the internal task ID).

A hypothetical example follows:

Task Name Priority Execution TimeTask Order
Task 2 High21
Task 4 High32
Task 6 Medium23
Task 7 Low14
Task 1 Low25
Task 5 Low26
Task 3 Low37
Comment
Benjamin W.
Kalle L.

People who like this

2 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image Kalle L. · Jul 20, 2017 at 07:07 AM 0
Share

Thanks Luke, this was very useful. We have one agent that is basically overloaded with tasks at the moment, and I've noticed some tasks are only executed about every 2 hours, even though the setting is every 20 minutes. All the priorities are "High", so it appears that some of them are skipped often due to the long execution estimations. Looks like I need to define a group task until a 2nd agent is deployed to handle the load.

avatar image

Answer by Ernest J. · Jul 21, 2017 at 06:58 PM

1) You will want to leave your tasks and subtasks enabled

2) In the console open up the agent configuration. Under the performance tab what do you have selected for Tasks?

You will want to have 'Wait until the previous task finishes.

Agent Performance Tab

Thanks

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image

Answer by Kalle L. · Jul 21, 2017 at 02:19 PM

Hi,

A few questions to those who've used group tasks. Am I supposed to leave the original tasks (also defined as subtasks in the group) enabled, as they are? Will the subtasks also be executed at their scheduled time, if there's a time slot available? What I mean is; Task abc is set to run every 5 minutes at medium prio... but it's also a subtask in a group with high prio that's executed every 20 minutes. Is it then only executed as part of the group, or is the 5 min interval also active, if there's idle time?

I got my group task to work, but there was sometimes a 10 minute delay between executions as the monitoring happened to take a bit longer and it passed the "optimal" time, so it had to wait a while for the next execution. I tried to get rid of these waits by changing the group's interval to 5 minutes (from 20 minutes), even though the estimated time was 19 mins. What happened was no tests were executed, at all. Eventually I had to delete the group, undeploy all tasks and redeploy them in order to wake up the agent.

So what would be the configuration to have a group task running continuously, i.e. as soon as the previous execution set ends, the next one is started? I'd like to get rid of those 10 minute idle waits...

Br,

Kalle

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

Welcome to the
Dynatrace Community Forums

Check out the Community User Guide and First steps in the forum to learn how to get started.

Community Member of the Month
December 2019

Announcing Dynatrace's Community Member of the Month for December 2019, Enrico F.! Click here to read more!

Employee Member of the Month
December 2019

Announcing Dynatrace's Employee Member of the Month for December 2019, Silvia M.! Click here to read more!

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 12, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 12, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 12, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 12, 4:00 pm CET / 10:00 am ET
Register here

Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Enterprise Synthethic Upgradation 12.3.4 to 12.4.12 2 Answers

Sizing Calculation for Enterprise Synthetic Deployment 2 Answers

Resetting status indicators in the ES Console Deployment View 4 Answers

ESM 12.5 early access program 1 Answer

Option to change Agent Manager for an Agent is greyed out? 3 Answers

Forum Tags

agent manager esm security 12.5 license ocr cns communication migration documentation citrix dna configuration console alerting framework sizing vba css nam java database scheduler files RUM sap xendesktop scripting nam console recorder agent active autocheck nam server install string matching
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A
      • Enterprise Synthetic Monitoring
    • Synthetic Classic
      • Synthetic Classic Open Q&A