Skip to main content

Scheduling Scans

Automate your database catalog discovery with scheduled scans. This feature allows you to keep your data catalog up-to-date automatically by running scans at regular intervals.

VIDEO TUTORIAL⏱️ 1.5 mins

📹 Setting Up Automated Scans

Learn how to schedule automated database scans to keep your catalog current without manual intervention.

Overview

Scheduled scans automatically discover and update your database catalog at defined intervals. This ensures your data documentation, quality monitoring, and governance features always work with the latest database structure.

Accessing Scan Scheduling

To configure scan scheduling for a data source:

  1. Navigate to your data source in the Autonify platform
  2. Click on the Settings tab
  3. Select Schedules from the settings menu

Schedule Configuration

Simplified Dropdown Selection

The scheduling interface uses a simple dropdown selector for choosing scan frequency. The available options are:

FrequencyCron ExpressionUse Case
Not scheduled-No automatic scanning
Every minute (Testing)* * * * *Testing and development only
Every 15 minutes*/15 * * * *Rapidly changing databases
Every hour0 * * * *Frequently updated databases
Every 6 hours0 */6 * * *Standard production databases
Daily at midnight0 0 * * *Stable production databases
Daily at 9 AM0 9 * * *Business hours scanning
Daily at 6 PM0 18 * * *End of business day scanning
Weekly on Monday0 0 * * 1Weekly catalog refresh
Monthly0 0 1 * *Monthly validation

Note on Scan Types

The simplified scheduling interface automatically uses incremental scanning for better performance. Full scans can be triggered manually when needed through the main scanning interface.

Setting Up a Schedule

The schedule configuration uses a simple dropdown interface:

  1. Navigate to Schedules: Go to Data Source → Settings → Schedules tab
  2. Select Frequency: Choose from the dropdown menu (defaults to "Not scheduled")
  3. Save Automatically: The schedule is saved immediately when you select a new option

The interface shows:

  • Database Scan with a database icon
  • A dropdown selector on the right side
  • Current schedule status (if configured)

Managing Existing Schedules

Viewing Current Schedule

The schedule dropdown shows the current configuration:

  • Not scheduled: No automatic scanning configured
  • Selected frequency: Shows the active schedule (e.g., "Every hour", "Daily at midnight")

Modifying Schedules

To change a schedule:

  1. Simply select a new option from the dropdown
  2. The change is applied immediately
  3. A toast notification confirms the update

Removing Schedules

To disable scheduled scanning:

  1. Select "Not scheduled" from the dropdown
  2. The schedule is removed immediately
  3. A confirmation message appears

Alternative Triggering Methods

While scheduled scans are convenient for regular updates, you can also trigger scans through:

CI/CD Integration

Trigger scans as part of your deployment pipeline to ensure the catalog reflects schema changes immediately after deployment.

GitHub Integration

Automatically scan when database migration files are committed or merged to your repository.

API Triggers

Use the Autonify API to programmatically trigger scans based on your custom logic or external events.

Manual Scans

Always available through the UI for on-demand catalog updates.

Best Practices

Choosing the Right Frequency

Consider these factors when selecting scan frequency:

  1. Database Change Rate: More frequent changes require more frequent scans
  2. Database Size: Large databases may need longer intervals to avoid performance impact
  3. Business Requirements: Critical databases may need more frequent updates
  4. Resource Usage: Balance freshness needs with system resource consumption

Performance Considerations

  • Use Incremental Scans: Default to incremental scans for better performance
  • Schedule During Off-Peak Hours: For large databases, schedule during low-usage periods
  • Monitor Scan Duration: Adjust frequency if scans take longer than the interval

When to Use Full Scans

Consider forcing full scans when:

  • Initial setup of a data source
  • After major database restructuring
  • Resolving synchronization issues
  • Monthly or quarterly validation

Agent Scheduling

In addition to database scans, you can also schedule AI agents to run automatically. If agents are linked to your data source, they will appear in the Agent Schedules section below the Database Scan option.

Each agent can be scheduled independently using the same dropdown interface. Available agents may include:

  • Data Volume: Tracks database growth and storage trends
  • Data Profiler: Analyzes data patterns and statistics
  • Quality Monitor: Monitors data quality issues
  • BI Agent: Performs business intelligence analysis

Troubleshooting

Common Issues

IssuePossible CauseSolution
Scans not runningSchedule disabledCheck toggle switch is enabled
Partial scan resultsInsufficient permissionsVerify database user permissions
Long scan durationLarge database or network latencyConsider less frequent scheduling
Scan failuresConnection issuesVerify connection settings and credentials

Getting Help

If you encounter issues with scheduled scans:

  1. Check the scan history for error details
  2. Verify database connectivity in the connection settings
  3. Review database user permissions
  4. Contact support at support@autonify.ai