mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-27 08:50:56 +01:00
* refactor: add cron job core package * docs: add comments to cron validation types * chore(deps): move node-cron dependencies from tasks app to cron-jobs-core package * fix: runOnInit is not running on start and rather on job creation * fix: format issues * fix: build fails when using top level await in cjs * chore: update turbo gen package json typescript version to 5.5.2 * fix: format issue * fix: deepsource issues * chore: update turbo gen package json eslint version to 9.5.0 * chore: fix frozen lockfile and format
11 lines
353 B
TypeScript
11 lines
353 B
TypeScript
// 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";
|
|
|
|
import { jobs } from "./jobs";
|
|
import { seedServerSettingsAsync } from "./seed-server-settings";
|
|
|
|
void (async () => {
|
|
await jobs.startAllAsync();
|
|
await seedServerSettingsAsync();
|
|
})();
|