-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from jjudd/add-monitoring-priority
Adding monitoring priority to all triggers.
- Loading branch information
Showing
22 changed files
with
317 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
ALTER TABLE `job_history` | ||
MODIFY COLUMN trigger_name VARCHAR(100) NOT NULL, | ||
MODIFY COLUMN trigger_group VARCHAR(100) NOT NULL, | ||
MODIFY COLUMN job_name VARCHAR(100) NOT NULL, | ||
MODIFY COLUMN job_group VARCHAR(100) NOT NULL, | ||
DROP KEY job_key, | ||
ADD KEY job_key (job_group, job_name, start); | ||
|
||
ALTER TABLE `trigger_history` | ||
MODIFY COLUMN trigger_name VARCHAR(100) NOT NULL, | ||
MODIFY COLUMN trigger_group VARCHAR(100) NOT NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CREATE TABLE trigger_monitoring_priority( | ||
trigger_name VARCHAR(190) NOT NULL, | ||
trigger_group VARCHAR(190) NOT NULL, | ||
priority TINYINT DEFAULT NULL, | ||
created datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
modified datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | ||
PRIMARY KEY(trigger_group, trigger_name) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
INSERT INTO trigger_monitoring_priority (trigger_name, trigger_group, priority) | ||
SELECT TRIGGER_NAME, TRIGGER_GROUP, 3 from QRTZ_TRIGGERS; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.