Scheduling offline performance runs

About this task

You may schedule Hotspot Detection Activities to be run on a remote host at specific intervals. Typically a cron job is created on the remote machine that will run the application and collect performance data, this data may then be loaded into the Session and analyzed at a later time.

Procedure

  1. Right click on a Session node in the Performance Explorer and select Manage Scheduled Activities.

    The Manage Scheduled Activities dialog will open.

  2. Click the Add button.

    A dialog will open for creating the scheduled Activity.

  3. Select a launch configuration or create a new one by clicking the New button.

    A launch configuration is required to run the application, scheduled Activities cannot attach to a running process.

  4. Click Next.
  5. Choose if you would like to schedule the Activity to one time, run once every day, or run once every week.
  6. If you would like the Activity to run once select the Run Once interval.
    1. Select the date.
    2. Select the time.
  7. If you would like the Activity to run once per day then select the Daily interval.
    1. Select the time of day to run the Activity.
    2. If you would like to set a limit on the number of times the Activity is run then select the continuing for radio button and enter the maximum number of days to run. Otherwise the Activity will run indefinitely until it is deleted.
  8. If you would like the Activity to run once per week then select the Weekly interval.
    1. Select the day of the week.
    2. Enter the time of day.
    3. If you would like to set a limit on the number of times the Activity is run then select the continuing for radio button and enter the maximum number of weeks to run. Otherwise the Activity will run indefinitely until it is deleted.
  9. Click Finish.

    The newly created scheduled Activity will now appear in the Manage Scheduled Activities dialog.

  10. Close the dialog.

    The newly created scheduled Activity will now appear in the bottom panel of the Performance Explorer view.

    The Session must be manually refreshed in order to retreive the results of a scheduled collection.


Feedback