as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

Step 5: Schedule EPG Sync Task

Next, schedule your EPG sync task. At a high-level, you want your EPG sync task to run at some or all of these trigger points:

  1. Periodic updates. Once you entitle the customer to watch content in your app, schedule regular EPG updates. This way the channel, program, and event information remains current. These updates run in the background to avoid disrupting the user's experience.
  2. On app install. If you offer live content without requiring customer registration or sign-in.
  3. On customer sign-in, sign-out, or changes to subscription plans.
  4. On App Updates. Any previously scheduled EPG Sync tasks must be rescheduled on app updates.

Use the Vega EPG Sync Scheduler interface to schedule your EPG sync task to run periodically. Here are some things to keep in mind when using the interface:

  1. The EPG sync task executes immediately upon scheduling, followed by your specified periodic intervals.
  2. The most recent scheduling request supersedes all previous configurations.
  3. The schedule interval has a range of 5 through 1440 minutes. Amazon caps anything outside this range. We recommend scheduling your EPG ingestion task to run every 24 hours and provide at least 48 hours of program data each time. Running the EPG ingestion task more than that puts unnecessary stress on the system.
  4. You can change the periodicity of your job by calling the schedule API with the same EpgSyncTask componentId parameter. The schedule API can be useful to temporarily increase the frequency of your job in case of frequent program lineup changes. For example, an event like the Olympics.
  5. If the device was off when the job was scheduled to run, it runs once the device turns on.
  6. The job scheduler does not guarantee that the job runs at exact times. The scheduler may include variations due to device resource availability.
  7. The scheduled sync tasks gets cleared during app updates and isn't automatically rescheduled. Any previously scheduled EPG Sync tasks must be re-scheduled on app updates.
  8. The cancelScheduledTasks method is used to cancel scheduled EPG sync tasks if the customer is no longer entitled to watch entitled content in your app. This method is useful if the customer loses access to the content, such as when they cancel their subscription or sign-out of your app.

Next, let's dive into examples of how to use Vega EPG Sync Scheduler at various trigger points.


Last updated: Jan 20, 2026