Git for Confluence
  • Git for Confluence
  • Installation
  • Release notes
    • 2.10.0
    • 2.12.6
    • 2.12.8
  • How to use the app
    • View git file macro
    • Attach git files
    • File types
  • Configuration
    • Summary
    • Servers
    • Repositories
    • Permissions
    • Sync frequency
  • Links
    • Marketplace
    • Support
  • Security / Privacy
    • Privacy Policy
Powered by GitBook
On this page
  • Changing the sync frequency
  • Triggering the sync from outside Confluence
  • Update all repositories

Was this helpful?

  1. Configuration

Sync frequency

The sync is performed by a Confluence scheduled job. If you want to change the sync frequency, you can edit the configuration for that job.

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.

PreviousPermissions

Last updated 5 years ago

Was this helpful?