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.
Last updated