Fix typo in pattern

This commit is contained in:
Girish Ramakrishnan
2020-07-29 12:01:00 -07:00
parent 8abe0a174a
commit b5c25bcaaa

View File

@@ -364,7 +364,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
if ($scope.configureScheduleAndRetention.hours.length === 24) hoursPattern = '*';
else hoursPattern = $scope.configureScheduleAndRetention.hours.map(function (d) { return d.value; });
backupConfig.schedulePattern ='* * ' + hoursPattern + ' * * ' + daysPattern;
backupConfig.schedulePattern ='00 00 ' + hoursPattern + ' * * ' + daysPattern;
Client.setBackupConfig(backupConfig, function (error) {
$scope.configureScheduleAndRetention.busy = false;