Files
Homarr/apps/tasks/src/main.ts

11 lines
363 B
TypeScript
Raw Normal View History

// This import has to be the first import in the file so that the agent is overridden before any other modules are imported.
import "./undici-log-agent-override";
2024-07-01 18:57:40 +02:00
import { registerCronJobRunner } from "@homarr/cron-job-runner";
import { jobGroup } from "@homarr/cron-jobs";
void (async () => {
2024-07-01 18:57:40 +02:00
registerCronJobRunner();
await jobGroup.startAllAsync();
})();