Add bots files handling logic
This commit is contained in:
@@ -5,6 +5,7 @@ import cronSyncHarnessModels from "./sync-harness-models";
|
||||
import syncComputers from "./sync-computers";
|
||||
import syncMcpServers from "./sync-mcp-servers";
|
||||
import runCronJobs from "./run-cron-jobs";
|
||||
import ingestPendingFiles from "./ingest-pending-files";
|
||||
import registerCronJob from "./register-cron-job";
|
||||
|
||||
export default function cron() {
|
||||
@@ -54,4 +55,11 @@ export default function cron() {
|
||||
run_on_start: true,
|
||||
quiet: true,
|
||||
});
|
||||
|
||||
registerCronJob({
|
||||
title: "ingest-pending-files",
|
||||
schedule: "*/10 * * * *",
|
||||
task: ingestPendingFiles,
|
||||
quiet: true,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user