There was an error while loading. Please reload this page.
1 parent 7da515d commit a669d47Copy full SHA for a669d47
1 file changed
packages/backend/src/plugins/catalog.ts
@@ -45,6 +45,13 @@ export default async function createPlugin(
45
// before incremental builder migrations are executed
46
// await incrementalBuilder.build();
47
48
+ await env.scheduler.scheduleTask({
49
+ id: "test-task-scheduler",
50
+ frequency: { cron: '0 0 * * 7' },
51
+ timeout: { minutes: 10 },
52
+ fn: async () => await sourcegraphProvider.full(),
53
+ });
54
+
55
await processingEngine.start();
56
57
return router;
0 commit comments