Scheduled Jobs in Bitbucket Server

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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:


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.


Last modified on Apr 18, 2019

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.