Creating a custom schedule for Visual Queries
To create a custom schedule to run the Visual Queries that are saved with alerting enabled, use a UNIX C cron expression. The default schedule to run these Visual Queries is once every 24 hours, at 00:00 hours according to the server time.
About this task
You can create a custom schedule in the AlertScheduleExpression
property. The
AlertScheduleExpression
property requires a value in UNIX C cron expression
format.
With the property
AlertScheduleExpression
, you can
override the default daily schedule. By default,
this property is not enabled. If the property is
enabled, whenever the value of the expression
matches the current date and time, i2 Analyze runs
the Visual Queries that are saved with alerting
enabled. For more information, see UNIX cron
format.
When you enable the property AlertScheduleExpression
, its value overrides the
value of the default property, AlertScheduleTimeOfDay
. For more information about
AlertScheduleTimeOfDay
, see Changing the daily schedule for Visual Queries.
If you follow this procedure in a deployment that provides high availability, you must complete each step on every Liberty server in your environment before you move to the next step.
Procedure
What to do next
After you deploy i2 Analyze, the updated schedule is applied to run Visual Queries that are saved with alerting enabled.