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)