@@ -195,7 +196,7 @@
{{ $t('cronjob.saveLocal') }}
@@ -454,12 +455,14 @@ const changeType = () => {
dialogData.value.rowData.hour = 2;
dialogData.value.rowData.minute = 30;
break;
+ case 'clean':
case 'website':
dialogData.value.rowData.specType = 'perWeek';
dialogData.value.rowData.week = 1;
dialogData.value.rowData.hour = 1;
dialogData.value.rowData.minute = 30;
break;
+ case 'log':
case 'snapshot':
dialogData.value.rowData.specType = 'perWeek';
dialogData.value.rowData.week = 1;
@@ -531,7 +534,8 @@ function isBackup() {
dialogData.value.rowData!.type === 'website' ||
dialogData.value.rowData!.type === 'database' ||
dialogData.value.rowData!.type === 'directory' ||
- dialogData.value.rowData!.type === 'snapshot'
+ dialogData.value.rowData!.type === 'snapshot' ||
+ dialogData.value.rowData!.type === 'log'
);
}