Scheduled Tasks

Scheduled Tasks are pipelines that run on a schedule. You can create a Scheduled Task in Designer or Manager. In Designer, you can:
  • Create a task within an open pipeline
  • schedule it for a one-time execution on a specific date and time
  • set it to recur at intervals
  • follow a complex schedule like a cron job
Alternatively, you can create or update a Scheduled Task in Classic Manager and assign the underlying pipeline to it. Once created, you can monitor Scheduled Tasks in the SnapLogic Dashboard.

Key Features

  • Advanced Scheduling Logic for Repeatable Jobs: Create cron jobs based on calendar dates, clock time, frequency, end dates, and across time zones.
  • Blackout Dates: Set exceptions for dates when the pipeline should not be invoked, useful for planned outages or holidays.

Prerequisites

  • You must have permissions to Project Space and Project to create and update Scheduled Tasks
  • You must have a Cloudplex or Groundplex set up to run a Scheduled Tasks successfully.

Support and Limitations

  • A Scheduled Task can take up to 10 minutes past the scheduled time to execute. If it misses that window, the task does not execute.
  • If a Pipeline run is skipped because another instance is already running, the job history shows only the first skip. Subsequent job skips do not appear in the job history.
  • If your account is locked or your password expired, your Scheduled Tasks will fail to execute.

Known Issues

  • Time Zone Discrepancy: When selecting the America/Mexico City time zone, the task runtime may be off by one hour due to the city's discontinuation of daylight savings time.
    • Workaround: Upgrade your Snaplex to JDK 11.0.18+.
  • Run Counters: Scheduled Tasks that are migrated to a different project do not reset their run counters.
  • Frequency Updates: Scheduled Tasks continue executing at the previous frequency even when the frequency is updated from 1 minute to 1 week.
  • Snaplex Scheduler: Disabling and then enabling a Scheduled Task should prevent execution while disabled, but it does not.
  • Daylight Savings: When creating iterative Scheduled Tasks in regions with Daylight Savings, it is recommended to use the Cron Job option. See best practices for details.
  • Triggered Task URLs: If you change a Triggered Task to a Scheduled Task, the Triggered Task URLs remain active, allowing the pipeline to be executed through them.
    • Workaround: Create a new Scheduled Task referencing the target pipeline and disable or delete the Triggered Task.