pmcmd startworkflow -sv 集成服务名称 -d 配置域名称 -u Administrator -p Administrator -f 文件夹名称 -wait 工作流名称
例如:
pmcmd startworkflow -sv sz_integration_service -d Domain_1KWN4Y1 -u Administrator -p Administrator123 -f 1_Src_To_OdsHis -wait Wf_Xmgl_OdsHis_To_Ods_At_D_P
命令相关参数
Usage: pmcmd pingservice
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
Usage: pmcmd getserviceproperties
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
Usage: pmcmd getservicedetails
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[-all|-running|-scheduled]
Usage: pmcmd getrunningsessionsdetails
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
Usage: pmcmd startworkflow
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[<-folder|-f> folder]
[<-startfrom> taskInstancePath [<-recovery|-norecovery>]]
[<-paramfile> paramfile]
[<-localparamfile|-lpf> localparamfile]
[<-osprofile|-o> OSProfile] [-wait|-nowait]
[<-runinsname|-rin> runInsName] workflow
Usage: pmcmd stopworkflow
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[<-folder|-f> folder] [<-runinsname|-rin> runInsName]
[-wfrunid workflowRunId] [-wait|-nowait] workflow
Usage: pmcmd abortworkflow
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[<-folder|-f> folder] [-wait|-nowait]
[<-runinsname|-rin> runInsName]
[-wfrunid workflowRunId] workflow
Usage: pmcmd waitworkflow
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[<-folder|-f> folder] [<-runinsname|-rin> runInsName]
[-wfrunid workflowRunId] workflow
Usage: pmcmd recoverworkflow
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[<-folder|-f> folder] [<-paramfile> paramfile]
[<-localparamfile|-lpf> localparamfile]
[-wait|-nowait] [<-runinsname|-rin> runInsName]
[-wfrunid workflowRunId] workflow
Usage: pmcmd scheduleworkflow
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[<-folder|-f> folder] workflow
Usage: pmcmd unscheduleworkflow
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[<-folder|-f> folder] workflow
Usage: pmcmd getworkflowdetails
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[<-folder|-f> folder]
[<-runinsname|-rin> runInsName]
[-wfrunid workflowRunId] workflow
Usage: pmcmd starttask
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[<-folder|-f> folder] <-workflow|-w> workflow
[<-paramfile> paramfile] [-wait|-nowait]
[<-recovery|-norecovery>] [<-runinsname|-rin> runInsName]
taskInstancePath
Usage: pmcmd stoptask
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[<-folder|-f> folder] <-workflow|-w> workflow
[<-runinsname|-rin> runInsName] [-wfrunid workflowRunId]
[-wait|-nowait] taskInstancePath
Usage: pmcmd aborttask
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[<-folder|-f> folder] <-workflow|-w> workflow
[<-runinsname|-rin> runInsName] [-wfrunid workflowRunId]
[-wait|-nowait] taskInstancePath
Usage: pmcmd waittask
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[<-folder|-f> folder] <-workflow|-w> workflow
[<-runinsname|-rin> runInsName] [-wfrunid workflowRunId]
taskInstancePath
Usage: pmcmd gettaskdetails
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[<-folder|-f> folder] <-workflow|-w> workflow
[<-runinsname|-rin> runInsName] taskInstancePath
Usage: pmcmd getsessionstatistics
<<-service|-sv> service <-domain|-d> domain [<-timeout|-t> timeout]>
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<<-usersecuritydomain|-usd> usersecuritydomain|<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
[<-folder|-f> folder] <-workflow|-w> workflow
[-wfrunid workflowRunId]
[<-runinsname|-rin> runInsName]
taskInstancePath