<-- Back

How to enable/disable scheduled events on Mendix Service Console

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.

  1. Open the Mendix Service Console on the Windows machine.
  2. Select the application to configure.
  3. Click Configuration.
  4. 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.
  5. If SPECIFIED is selected, click Advanced.
  6. In the Advanced screen, add a new line under Custom Mendix Settings with the following:
    • NameMyScheduledEvents
    • Value: A comma-separated list of scheduled event names, including the module name (for example, CRM.UpdateCustomerStatistics).
  7. Save your changes by clicking “Apply” or “OK”.
  8. 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 MyScheduledEvents run. 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:

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.