diff --git a/backend/utils/cmd/cmd.go b/backend/utils/cmd/cmd.go index da4406fed..82629c09e 100644 --- a/backend/utils/cmd/cmd.go +++ b/backend/utils/cmd/cmd.go @@ -87,7 +87,7 @@ func ExecCronjobWithTimeOut(cmdStr string, timeout time.Duration) (string, error if len(errMsg) != 0 { errMsg = fmt.Sprintf("%s \n\n; stdout:\n %s", errMsg, stdout.String()) } else { - errMsg = fmt.Sprintf("stdout\n: %s", stdout.String()) + errMsg = fmt.Sprintf("stdout:\n %s", stdout.String()) } } return errMsg, err diff --git a/frontend/src/views/cronjob/record/index.vue b/frontend/src/views/cronjob/record/index.vue index cdbd4c065..eeafd6244 100644 --- a/frontend/src/views/cronjob/record/index.vue +++ b/frontend/src/views/cronjob/record/index.vue @@ -84,7 +84,7 @@ - + @@ -105,29 +105,39 @@