mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-20 16:59:17 +08:00
57 lines
1.2 KiB
Go
57 lines
1.2 KiB
Go
|
export namespace Cronjob {
|
||
|
export interface CronjobInfo {
|
||
|
id: number;
|
||
|
name: string;
|
||
|
type: string;
|
||
|
specType: string;
|
||
|
week: number;
|
||
|
day: number;
|
||
|
hour: number;
|
||
|
minute: number;
|
||
|
|
||
|
script: string;
|
||
|
website: string;
|
||
|
exclusionRules: string;
|
||
|
database: string;
|
||
|
url: string;
|
||
|
targetDirID: number;
|
||
|
targetDir: string;
|
||
|
retainCopies: number;
|
||
|
status: string;
|
||
|
}
|
||
|
export interface CronjobCreate {
|
||
|
name: string;
|
||
|
type: string;
|
||
|
specType: string;
|
||
|
week: number;
|
||
|
day: number;
|
||
|
hour: number;
|
||
|
minute: number;
|
||
|
|
||
|
script: string;
|
||
|
website: string;
|
||
|
exclusionRules: string;
|
||
|
database: string;
|
||
|
url: string;
|
||
|
targetDirID: number;
|
||
|
retainCopies: number;
|
||
|
}
|
||
|
export interface CronjobUpdate {
|
||
|
id: number;
|
||
|
specType: string;
|
||
|
week: number;
|
||
|
day: number;
|
||
|
hour: number;
|
||
|
minute: number;
|
||
|
|
||
|
script: string;
|
||
|
website: string;
|
||
|
exclusionRules: string;
|
||
|
database: string;
|
||
|
url: string;
|
||
|
targetDirID: number;
|
||
|
retainCopies: number;
|
||
|
status: string;
|
||
|
}
|
||
|
}
|