Optimizing Scheduled Job Usage in Salesforce by Managing Q-assign's Watcher Jobs
Q-assign uses four watcher jobs to monitor and manage the scheduler job that runs the assignment groups in your org. Watcher jobs run every 15 minutes and check if the scheduler job is healthy and working properly. If the scheduler job gets stuck or fails, the watcher jobs can automatically restart it. This ensures that Q-assign is running around the clock in your org.
These watcher jobs also count toward your organization's scheduled jobs limit of 100. If you have a high demand for scheduled jobs in your org, you may want to reduce the number of watcher jobs to free up some capacity. You can easily do this by deleting two of the watcher jobs from the Scheduled Jobs page in Salesforce Setup. This will increase the checking interval from 15 minutes to 30 minutes, but it reduces the watchers' scheduled job usage by half. It’s recommended to delete jobs 1 and 3 or 2 and 4 to keep the checking interval to 30 mins. It’s just the frequency of watcher jobs that will be reduced and the actual assignment job (scheduler) will still run according to the frequency set in the control panel.
Please note that deleting watcher jobs will increase the risk of having a longer downtime for Q-assign if the scheduler job gets stuck and needs a restart. In the case of two watcher jobs, it may take up to 30 minutes for the remaining watcher jobs to restart it. Alternatively, you can always manually restart the scheduler job from the Q-assign Control Panel by clicking on Restart Manager to minimize downtime.
Please contact us at email@example.com for any questions.