diff --git a/backend/utils/cmd/cmd.go b/backend/utils/cmd/cmd.go index 409bf9f65..1e56332f5 100644 --- a/backend/utils/cmd/cmd.go +++ b/backend/utils/cmd/cmd.go @@ -91,9 +91,6 @@ func ExecCronjobWithTimeOut(cmdStr string, workdir string, timeout time.Duration return "", buserr.New(constant.ErrCmdTimeout) } - if len(stderr.String()) != 0 { - err = buserr.New(constant.ErrBashExecute) - } return output.String(), err } diff --git a/frontend/src/views/cronjob/record/index.vue b/frontend/src/views/cronjob/record/index.vue index 01fea06bb..c3b0fba81 100644 --- a/frontend/src/views/cronjob/record/index.vue +++ b/frontend/src/views/cronjob/record/index.vue @@ -131,8 +131,8 @@ {{ $t('commons.status.success') }} @@ -143,13 +143,12 @@ {{ $t('commons.status.failed') }} - + {{ dateFormat(0, 0, item.startTime) }} - {{ dateFormat(0, 0, item.startTime) }} -
+