Recently I was in a scenario where I need to update job data map of the quartz job trigger at runtime, After a little bit research and exploring the API for quartz 2.2.1, I found the required solution.

Firstly I have created the cron trigger, where I have set the identity of the cron trigger as:

I have created the identity with randomUUID()

And then set that triggerName as identity of cron trigger:

And I updated that trigger at runtime by fetching the required trigger with the help of triggerName (which I have stored in the database at the time of creation of cron trigger) from the bundle of triggers as: