Introduction
The Scheduled Event Execution setting in the Mendix Service Console controls which scheduled events run in a Mendix application. This setting is only relevant for the cluster leader — the node that does not have the com.mendix.core.isClusterSlave setting set to true. The cluster leader manages the administration of scheduled events across the entire cluster. For more information on configuring cluster slave nodes, see Configure cluster slave nodes.
Environment
Mendix Service Console
Instructions/Procedure
Navigate to the Scheduled Event Execution setting and configure it using the steps below.
- Open the Mendix Service Console on the Windows machine.
- Select the application to configure.
- Click Configuration.
- Locate the Scheduled Event Execution setting and select one of the following options:
- ALL – All scheduled events run.
- NONE – No scheduled events run.
- SPECIFIED – Only the explicitly listed scheduled events run.
- If SPECIFIED is selected, click Advanced.
- In the Advanced screen, add a new line under Custom Mendix Settings with the following:
- Name:
MyScheduledEvents - Value: A comma-separated list of scheduled event names, including the module name (for example, CRM.UpdateCustomerStatistics).
- Name:
- Save your changes by clicking “Apply” or “OK”.
- Restart the Mendix service for the changes to take effect:
- In the console, click on the “General” tab.
- Click “Stop” to stop the service.
- Once stopped, click “Start” to restart the service with the new settings.
Outcome
After completing the steps above:
- If ALL is selected, all scheduled events in the application run as configured.
- If NONE is selected, no scheduled events run.
- If SPECIFIED is selected, only the events listed in
MyScheduledEventsrun. All other scheduled events remain inactive.
Note the following cluster behavior:
- If the cluster leader sets this to NONE, no scheduled events run at all, regardless of other nodes' settings.
- If a non-leader node sets this to NONE, it still picks up all scheduled events as dictated by the cluster leader.
Internal information related
- 276364, 222135, 62361
- C05N89ELXRV/p1757582500352499
Additional information
Mendix documentation:
0 Comments