如何同时 RDP 并在 2 个不同的会话中并行运行相同的计划任务?

发布于 2024-12-01 21:15:25 字数 359 浏览 11 评论 0原文

我已经使用我的用户 ID 创建了一个计划任务,并且希望在多个会话中运行相同的任务。我想做的是,我将对创建任务的服务器执行多个 RDP,并运行该任务的多个实例。

我可以完美地运行该任务,但是,我面临的问题是,通过任务打开的 GUI 始终在第一个 RDP 会话(屏幕)中打开。

该任务打开 QTP 并运行测试。由于单个会话中只能运行一个 QTP,因此我需要在多个会话中运行多个实例。

由于我在尝试从 .Net Web 应用程序打开时遇到 QTP RPC 问题,因此我通过通过 Web 应用程序创建计划任务来解决该问题,该任务又打开 QTP 并运行测试。

现在我陷入困境,因为虽然我可以运行QTP,但我无法运行多个实例。

请帮忙。

I have created a scheduled task with my userid and would like to run the same task in multiple sessions. What I would like to do is, I will do multiple RDP to the server where I have created the task, and run multiple instances of the task.

I can run the task perfectly, but, the problem I am facing is, the GUI that is opened through the task always opens in the first RDP session (screen).

The task opens QTP and runs a test. As there can be only one QTP that can run in a single session, I need to run multiple instances in multiple sessions.

As I am having problem with QTP RPC while trying to open from a .Net web application, I solved the problem by creating scheduled tasks through the web application, that in turn opens QTP and runs the test.

Now I am stuck, because although I can run QTP, I cannot run multiple instances.

Please help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

笑看君怀她人 2024-12-08 21:15:25

以不同用户身份运行任务。多个任务需要多个用户。适用于 2003。我试图让它在 2000 服务器上工作。

Run the task as a different user. Multiple tasks need multiple users. Works on 2003. I'm trying to get it to work on 2000 server.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文