Reputation: 3787
What is the best way to disable a job in the JDBCJobStore without deleting it's job or trigger records and without wiping the cron expression?
Upvotes: 13
Views: 21151
Reputation: 3787
Use scheduler.pauseJob() or scheduler.pauseTrigger().
Alternatively you can use the following SQL script:
UPDATE QRTZ_TRIGGERS SET TRIGGER_STATE = "PAUSED"
Upvotes: 32