System Task Manager

Manage automated system tasks for library maintenance, metadata refreshing, and cache cleanup. Schedule recurring operations using Spring cron expressions.

System Tasks

Execute tasks manually, monitor progress in real-time, and configure scheduled automation.

@if (loading && taskInfos.length === 0) {
Loading tasks...
} @if (!loading && taskInfos.length === 0) {

No tasks available

}
@for (taskInfo of taskInfos; track taskInfo.taskType) {
{{ getTaskLabel(taskInfo.taskType) }} @if (isTaskRunning(taskInfo.taskType)) { Running } @else if (isTaskStale(getTaskHistory(taskInfo.taskType))) { Stale } @else if (getTaskHistory(taskInfo.taskType)?.id) { {{ getLastRunMessage(taskInfo.taskType) }} }

{{ getTaskDescription(taskInfo.taskType) }}

@if (!isTaskRunning(taskInfo.taskType) && isCronSupported(taskInfo.taskType) && getCronConfig(taskInfo.taskType)) {
@if (!isEditingCron(taskInfo.taskType)) { @if (getCronConfig(taskInfo.taskType)?.cronExpression) { {{ getCronConfig(taskInfo.taskType)!.cronExpression }} } @else { No schedule } } @else {
}
@if (isEditingCron(taskInfo.taskType) && cronValidationError) {
{{ cronValidationError }}
}
}
@if (canExecuteTask(taskInfo.taskType) || isTaskStale(getTaskHistory(taskInfo.taskType))) { } @if (canCancelTask(getTaskHistory(taskInfo.taskType)) && !isTaskStale(getTaskHistory(taskInfo.taskType))) { }
@if (!isTaskRunning(taskInfo.taskType) && hasMetadata(taskInfo.taskType)) { } @if (!isTaskRunning(taskInfo.taskType) && taskInfo.taskType === TaskType.REFRESH_LIBRARY_METADATA) {
{{ getMetadataReplaceDescription(selectedMetadataReplaceMode) }}
} @if (isTaskRunning(taskInfo.taskType)) {
@if (isTaskStale(getTaskHistory(taskInfo.taskType))) {
This task appears stuck. No updates received for over 5 minutes.
} @if (getTaskHistory(taskInfo.taskType)?.message) {
Status: {{ getTaskStatusMessage(taskInfo.taskType) }}
} @if (getTaskProgressPercentage(taskInfo.taskType) !== null) {
Progress:
{{ getTaskProgressPercentage(taskInfo.taskType) }}%
} @if (getTaskUpdatedAt(taskInfo.taskType)) {
Started: {{ formatDate(getTaskUpdatedAt(taskInfo.taskType)!) }}
}
}
}