Breadcrumbs

Sync frequency

Changing the sync frequency

  • Log in as an administrator.

  • Navigate to General Configuration and choose Scheduled Jobs

  • Find the job named Synchronize Git repositories

  • Choose Edit

  • Change the cron expression

Note that this changes the sync frequency for all repositories. There is currently no way to change the frequency per repository.

Triggering the sync from outside Confluence

If for any reason you want to disable the sync job, you can trigger the sync from outside Confluence by calling the following REST API:

Update all repositories

GET https://localhost:1990/confluence/rest/git-plugin/1.0/jobs/update-repositories

Instructs the app to fetch all repositories.

Responses

Description

200

When all repositories are synced succesfully. There is no response body.

500

When there was any error. Please consult the logs for more details.