使用eclipse在java中执行批处理

问题描述 投票:0回答:1

我有一批用腻子运行。如何在 eclipse 中使用 java 运行它。可以在命令提示符下执行吗?

java eclipse batch-file
1个回答
0
投票

解决方案:

AWSBatch client = AWSBatchClientBuilder.standard().build();
SubmitJobRequest request = new SubmitJobRequest().withJobName("example").withJobQueue("HighPriority").withJobDefinition("sleep60");
SubmitJobResult response = client.submitJob(request);

链接信息:https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/batch/AWSBatch.html#listJobs-com.amazonaws.services.batch.model.ListJobsRequest-

© www.soinside.com 2019 - 2024. All rights reserved.