--- title: Configure scheduled jobs for Self-Service Analytics description: Schedule when to run the deflection configuration to generate the activities that match an activity pattern within an activity window. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/servicenow-platform/knowledge-management/configure-scheduled-job-ssa.html release: australia product: Knowledge Management classification: knowledge-management topic_type: task last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Configure Self-Service Analytics, Configuring Knowledge Management, Knowledge Management, Manage content capabilities, Extend ServiceNow AI Platform capabilities] --- # Configure scheduled jobs for Self-Service Analytics Schedule when to run the deflection configuration to generate the activities that match an activity pattern within an activity window. ## Before you begin [Set up the deflection configuration for Self-Service Analytics](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/knowledge-management/configure-deflection-ssa.md). Role required: admin ## About this task You configure the duration of processing the deflection configuration for a user entity. This configuration is optional for consumers and customer contacts. The scheduled job captures data for Self-Service Analytics and stores the generated data in the Deflection Metric \[ssa\_deflection\_metric\] table. ## Procedure 1. Navigate to **All** > **System Definition** > **Scheduled Jobs**. 2. Configure the scheduled script processed for a user entity in a scheduled job. - For consumers, select **Deflection Analytics for Consumers**. - For customer contacts, select **Deflection Analytics for Contacts**. - For user entities other than consumers and customer contacts, click **New** and select **Automatically run a script of your choosing** to create another scheduled job or modify an existing schedule job. 3. On the Scheduled Script Execution form, verify the default field values for consumers and customer contacts or fill in the values for a custom configuration.
| Field | Description |
|---|---|
| Name | Name to identify the scheduled script execution. |
| Active | Option to activate the script at the scheduled date and time. By default the job is inactive. |
| Run | Type of schedule to execute the script on. Choices are:- Daily - Weekly - Monthly - Periodically - Once |
| Day | - If you select **Weekly** as the **Run** value, the day of the week. - If you select **Monthly** as the **Run** value, the day of the month. |
| Repeat Interval | If you select **Periodically** as the **Run** value, the duration between each script execution.**Note:** This setting does not account for Daylight Savings Time changes. For example, if you select a period of one day, this adds 24 hours to the starting time of the job. If the start time was configured during a period with Daylight Savings Time, the job executes with a one hour offset on days when that time zone is not in Daylight Savings Time. |
| Time | If you select **Daily**, **Weekly**, or **Monthly** as the **Run** value, the time of day, based on a 24-hour clock. |
| Starting | Date and time of the first scheduled script execution. |
| Application | Application that contains the script. |
| Conditional | Option to run a scheduled job if certain conditions are met in the associated script. |
| Condition | Conditional script that determines whether a scheduled job must run. The last expression of the script should evaluate to a Boolean \(true or false\) value. This field appears only when the **Condition** check box is selected. |
| Run this script | Script to run at the scheduled date and time.For a new scheduled script, copy the script from the existing script \(Deflection Analytics for Consumers or Deflection Analytics for Contacts\) and modify the `deflectionAnalyticsService.captureDeflectionAnalytics('*sys\_ID*')` field value to include the sys\_id of your deflection configuration record. For information about identifying the sys\_id, see [The unique record identifier \(sys\_id\)](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/c_UniqueRecordIdentifier.md). |