Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Schedules are used to trigger Business Rules.

Prerequisites

Existing Business rule that should be triggered via Schedule. An example Business Rule can be foundcontent expiring in 10 days here.

Specific Definitions

Property

Value

Name (required)

Choose a name that will be obvious to both yourself and any other admins - e.g Content Items license expiration warning, Every full hour etc.

Description

Further describe what this schedule is for your and others reference.

Enabled

You can choose to disable or enable the schedule. We suggest leaving it disabled until you have tested it thoroughly. You can test the schedule straight away by clicking on the trigger now button, which will carry out the linked Business Rule straight away.

Cron Expression (required)

This expression determines when the schedule will be carried out. An example of a valid cron expression would be 0 0 * * 1-7 which would trigger the business rule at 00:00 on every day of the week from Monday through Sunday. See https://crontab.guru/ to create your cron expression but keep in mind that only what is supported by Cronos is supported in Picturepark.

Document type (required)

Currently only the Content document type can be selected here.

Filter (required)

The filter is important for performance reasons. It allows you to narrow down the number of Content Items that will be loaded before a business rule is carried out. See the query filter cheat sheet for examples.

Business rules (required)

Select one or more business rules that should be triggered on this schedule.

Search string

A search string can further narrow down the Content Items that will have the selected business rule/s run on them. See the advanced search cheat sheet for examples.

  • The minimum accepted interval time is 15 minutes.

  • Schedules are executed at an approximate time. If you set a schedule to 07.00 AM CET then it will be executed exactly at this time but the Content Items might be changed with an offset, depending on the defined search query, the number of Content Items that need to be processed, and the general load on the system.

  • If the processing of the items takes a long time and overlaps with the next interval; then the execution of that next interval will be skipped. For instance, if you are using 15-minute intervals and the processing takes 20 minutes then the next execution will happen 30 minutes after the one that took longer. Filters should therefore be used to narrow down Content Items for preventing overload and long processing times.

  • No labels