Scheduled Tasks

Scheduled tasks run work periodically inside a Curiosity Studio environment. They are commonly used for:

  • periodic ingestion (hourly/daily sync)
  • reindexing and maintenance operations
  • enrichment jobs (NLP reparse, entity linking, batch similarity)
  • reporting and aggregation

What makes a good scheduled task

  • Idempotent: reruns are safe.
  • Bounded: does not process unbounded amounts of data without pagination.
  • Observable: emits logs/metrics and failure reasons.
  • Permission-aware: respects access control where needed.

The Tasks page listing five code tasks with their schedules and Idle statusThe Tasks page listing five code tasks with their schedules and Idle status

The new Custom Code Scheduled Task dialog with a name, a schedule and the task codeThe new Custom Code Scheduled Task dialog with a name, a schedule and the task code

Task categories

  • Ingestion tasks
    • call connectors or integration logic on a schedule
  • Maintenance tasks
    • rebuild indexes, backfills, schema migrations (with care)
  • Enrichment tasks
    • reparse fields with updated NLP pipelines
    • compute derived relationships
  • Analytics tasks
    • compute dashboards and cached aggregates

Configuring scheduled tasks

Cron-like Scheduling

Tasks use standard Cron expressions for timing:

  • 0 * * * *: Run every hour.
  • 0 0 * * *: Run every day at midnight.
  • 0 0 * * 0: Run every Sunday at midnight.

Setting up a Task

  1. Navigate to Admin → Scheduled Tasks.
  2. Click New Task.
  3. Select the Task Type (e.g., Ingest, Reindex, Backup).
  4. Enter the Cron Expression.
  5. Configure any type-specific parameters (e.g., connector ID, backup path).
  6. Enable the task and monitor its execution in the logs.

Operational Reliability

  • Automatic Backups: Schedule daily backups to a secure off-site location.
  • Periodic Re-indexing: Schedule re-indexing during low-traffic periods to ensure search relevance is maintained.
  • Ingestion Sync: Align ingestion tasks with the update frequency of your source systems.

Next steps