From 3d86e32e5a3a00b697bdf96f56839e109f8cd103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=A8=81?= <894646498@qq.com> Date: Thu, 25 May 2023 14:40:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A9=E6=B2=B3=E4=BB=A3=E7=A0=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E8=84=9A=E6=9C=AC=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 38c42d8facec53fe06ef0f99aa824748146e8472 --- adaptor/PCM-HPC/PCM-TH/rpc/internal/logic/cronlogic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adaptor/PCM-HPC/PCM-TH/rpc/internal/logic/cronlogic.go b/adaptor/PCM-HPC/PCM-TH/rpc/internal/logic/cronlogic.go index 7b754721..2e9b334a 100644 --- a/adaptor/PCM-HPC/PCM-TH/rpc/internal/logic/cronlogic.go +++ b/adaptor/PCM-HPC/PCM-TH/rpc/internal/logic/cronlogic.go @@ -63,7 +63,7 @@ func submitJob(infoList *pcmcoreclient.InfoListResp, submitJobLogic *SubmitJobLo submitReq := hpcTH.SubmitJobReq{ Account: "root", Name: infoList.HpcInfoList[index].Name, - Script: "#! /bin/bash\\n hostname \\n env | grep SLURM", + Script: infoList.HpcInfoList[index].CmdScript, UserId: 123, } jobResult, _ := submitJobLogic.SubmitJob(&submitReq)