如何同时 RDP 并在 2 个不同的会话中并行运行相同的计划任务?
我已经使用我的用户 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以不同用户身份运行任务。多个任务需要多个用户。适用于 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.