The documentation is as follows: The keys of Jobs and Triggers (JobKey and TriggerKey) allow them to be placed into 'groups' which can be useful for organizing your jobs and triggers into categories such as “reporting jobs” and “maintenance jobs”. The name portion of the key of a job or trigger must be unique within the group - or in other words, the complete key (or identifier) of a job or trigger is the compound of the name and group. Simply put, name+group It forms a unique key, through which you can update, stop tasks, etc. Write a simple demo:
The documentation is as follows:
The keys of Jobs and Triggers (JobKey and TriggerKey) allow them to be placed into 'groups' which can be useful for organizing your jobs and triggers into categories such as “reporting jobs” and “maintenance jobs”. The name portion of the key of a job or trigger must be unique within the group - or in other words, the complete key (or identifier) of a job or trigger is the compound of the name and group.
Simply put, name+group It forms a unique key, through which you can update, stop tasks, etc.
Write a simple demo:
Other applications of group:
You can get all the jobkeys under it through groupname