diff --git a/packages/backend/src/plugins/catalog.ts b/packages/backend/src/plugins/catalog.ts index 1bebc9bf16..8c3a193885 100644 --- a/packages/backend/src/plugins/catalog.ts +++ b/packages/backend/src/plugins/catalog.ts @@ -45,6 +45,13 @@ export default async function createPlugin( // before incremental builder migrations are executed // await incrementalBuilder.build(); + await env.scheduler.scheduleTask({ + id: "test-task-scheduler", + frequency: { cron: '0 0 * * 7' }, + timeout: { minutes: 10 }, + fn: async () => await sourcegraphProvider.full(), + }); + await processingEngine.start(); return router;