Enable schedule for new sync process (#4992)

# What this PR does
Replaces old scheduled sync task with new one.

## Which issue(s) this PR closes

Related to [issue link here]

<!--
*Note*: If you want the issue to be auto-closed once the PR is merged,
change "Related to" to "Closes" in the line above.
If you have more than one GitHub issue that this PR closes, be sure to
preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
This commit is contained in:
Michael Derynck 2024-09-11 12:24:03 -06:00 committed by GitHub
parent b2f392f835
commit ead79b36af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -571,7 +571,7 @@ CELERY_BEAT_SCHEDULE = {
"args": (),
},
"start_sync_organizations": {
"task": "apps.grafana_plugin.tasks.sync.start_sync_organizations",
"task": "apps.grafana_plugin.tasks.sync_v2.start_sync_organizations_v2",
"schedule": crontab(minute="*/30"),
"args": (),
},