Scheduled Jobs in Bitbucket Server
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
It may often be required, such as for audit purposes, to list out background / scheduled jobs that run on a default Bitbucket Server installation.
Resolution
The table bb_clustered_job holds details about the scheduled jobs. A typical query to list all such jobs is:
1
SELECT job_runner_key FROM bb_clusteredjob ORDER BY job_runner_key;
Detail
The table BB_CLUSTEREDJOB maintains information about scheduled jobs that run periodically on Bitbucket Server instance. These attributes include time when the job was first run, interval between scheduled runs, next run time. It also includes crontab entry for jobs that are scheduled via Linux OS level cron.
Was this helpful?