feat: add Job Monitor page with cron job logging and Selenium queue status
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -323,6 +323,16 @@ exports.Prisma.NotificationScalarFieldEnum = {
|
||||
read: 'read'
|
||||
};
|
||||
|
||||
exports.Prisma.CronJobLogScalarFieldEnum = {
|
||||
id: 'id',
|
||||
jobName: 'jobName',
|
||||
status: 'status',
|
||||
startedAt: 'startedAt',
|
||||
completedAt: 'completedAt',
|
||||
durationMs: 'durationMs',
|
||||
errorMessage: 'errorMessage'
|
||||
};
|
||||
|
||||
exports.Prisma.CloudFolderScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
@@ -508,6 +518,7 @@ exports.Prisma.ModelName = {
|
||||
DatabaseBackup: 'DatabaseBackup',
|
||||
BackupDestination: 'BackupDestination',
|
||||
Notification: 'Notification',
|
||||
CronJobLog: 'CronJobLog',
|
||||
CloudFolder: 'CloudFolder',
|
||||
CloudFile: 'CloudFile',
|
||||
CloudFileChunk: 'CloudFileChunk',
|
||||
|
||||
1390
packages/db/generated/prisma/index.d.ts
vendored
1390
packages/db/generated/prisma/index.d.ts
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "prisma-client-246293e720df1adf8730b52510e5dd3a44f079859a3249054c7cc8bdf2e0739c",
|
||||
"name": "prisma-client-4bc6ced9b73ff651becdfed4e68ae8090595ad6cc91677c4e986b059be8d6d3b",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"browser": "default.js",
|
||||
|
||||
@@ -399,6 +399,21 @@ enum NotificationTypes {
|
||||
ETC
|
||||
}
|
||||
|
||||
// Cron job execution log
|
||||
model CronJobLog {
|
||||
id Int @id @default(autoincrement())
|
||||
jobName String // e.g. "local-backup", "usb-backup"
|
||||
status String // "success" | "failed" | "skipped"
|
||||
startedAt DateTime
|
||||
completedAt DateTime?
|
||||
durationMs Int?
|
||||
errorMessage String?
|
||||
|
||||
@@index([jobName])
|
||||
@@index([startedAt])
|
||||
@@index([status])
|
||||
}
|
||||
|
||||
model CloudFolder {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int
|
||||
|
||||
Reference in New Issue
Block a user