You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/recipes/scheduler-quartz-clustering.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,8 @@ This recipe provides detailed instructions for setting up and configuring cluste
27
27
28
28
For a general overview of the Quartz Scheduler extension, see the [Quartz Scheduler documentation](https://github.com/lucee/lucee-docs/blob/master/docs/recipes/scheduler-quartz.md).
29
29
30
+
**Prerequisites:** Before configuring clustering, you must first install the Quartz Scheduler extension and configure a gateway instance. See the [Gateway Configuration](scheduler-quartz.md#gateway-configuration-required) section in the main Quartz Scheduler documentation.
31
+
30
32
## Overview
31
33
32
34
Clustering in Quartz Scheduler allows you to distribute your scheduled tasks across multiple servers, providing:
Copy file name to clipboardExpand all lines: docs/recipes/scheduler-quartz-component-jobs.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,8 @@ Execute CFML components (CFCs) as scheduled tasks with Quartz Scheduler.
22
22
23
23
For general overview, see [[scheduler-quartz]].
24
24
25
+
**Prerequisites:** Before creating component-based jobs, you must first install the Quartz Scheduler extension and configure a gateway instance. See the [Gateway Configuration](scheduler-quartz.md#gateway-configuration-required) section in the main Quartz Scheduler documentation.
Your existing jobs and configurations will continue to work, but you must manually configure a gateway instance (see [Gateway Configuration](#gateway-configuration-required) below).
63
+
64
+
**Why this change?**
65
+
- Provides more control over scheduler initialization
66
+
- Allows installing the extension without automatically starting the scheduler
The Quartz Scheduler extension can be installed in two ways:
@@ -67,6 +87,43 @@ In Lucee 6.2, this extension is considered experimental, primarily for testing p
67
87
68
88
In Lucee 7, it's fully supported as an alternative to the legacy Scheduled Task system.
69
89
90
+
## Gateway Configuration (Required)
91
+
92
+
**Important:** Installing the extension does NOT automatically start a Quartz instance. You must manually configure a gateway instance for the scheduler to work.
93
+
94
+
### Using the Lucee Administrator
95
+
96
+
1. Navigate to **Server > Event Gateways > Gateway Instances**
97
+
2. Click **Create New Instance**
98
+
3. Select **Quartz Scheduler** from the gateway type dropdown
99
+
4. Set the Instance ID to `quartz-task`
100
+
5. Enable "Startup Mode" and set it to **Automatic**
0 commit comments