Is there any way to run schedule on demand

I would like to use a trigger (e.g., a trigger from a counting camera) to start some schedule with minimal delay, or if possible, a synchronized schedule. Of course, before such a schedule starts, a synchronized event normally runs.

How can this be done? I need this to execute immediately… do you have any ideas or experience with this?

Hi @Jakub You can achieve something similar using Schedule Criteria.

You can create your own connector for the CMS that fetches data from your trigger source, such as a counting camera or external API, and sends that information as a criteria to the Player. When the Player receives criteria that match what’s defined for a scheduled layout, it will automatically trigger that layout to play.

You just need to schedule the desired layout in advance and configure it with the appropriate criteria. Once the Player receives matching criteria, it will play that layout immediately without any manual action needed.

There’s also an easier way which is to use the Push Criteria Update API.

If possible, you can setup your camera (or any external system) to send an HTTP request to the CMS using that API. The CMS will then automatically send the criteria to the Player, and the Player will trigger the scheduled layout once the criteria match. This is simpler since you don’t have to build your own connector.

Example setup:

Schedule a layout with a custom criteria:

  • Type: Custom
  • Metric: people
  • Condition: Greater than
  • Value: 5

Then your external source can send a request to the CMS like this:

[
  {
    "metric": "people",
    "value": "10",
    "ttl": 60
  }
]

Since 10 is greater than 5, the layout will play at the next collection interval, or immediately if there are no other active schedules on the Player.

You can read more about Schedule Criteria here: