mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
feat: nightly tasks (#19879)
This commit is contained in:
parent
df581cc0d5
commit
47c0dc0d7e
21 changed files with 538 additions and 60 deletions
|
|
@ -121,6 +121,14 @@ export interface SystemConfig {
|
|||
newVersionCheck: {
|
||||
enabled: boolean;
|
||||
};
|
||||
nightlyTasks: {
|
||||
startTime: string;
|
||||
databaseCleanup: boolean;
|
||||
missingThumbnails: boolean;
|
||||
clusterNewFaces: boolean;
|
||||
generateMemories: boolean;
|
||||
syncQuotaUsage: boolean;
|
||||
};
|
||||
trash: {
|
||||
enabled: boolean;
|
||||
days: number;
|
||||
|
|
@ -298,6 +306,14 @@ export const defaults = Object.freeze<SystemConfig>({
|
|||
newVersionCheck: {
|
||||
enabled: true,
|
||||
},
|
||||
nightlyTasks: {
|
||||
startTime: '00:00',
|
||||
databaseCleanup: true,
|
||||
generateMemories: true,
|
||||
syncQuotaUsage: true,
|
||||
missingThumbnails: true,
|
||||
clusterNewFaces: true,
|
||||
},
|
||||
trash: {
|
||||
enabled: true,
|
||||
days: 30,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue