需要两件事之一。调度程序以最终用户身份运行 EXE 或以静默方式打开浏览器

发布于 2024-10-06 15:52:28 字数 273 浏览 0 评论 0原文

我有一个 Web 服务,它获取最终用户的用户名(而不是密码)并返回该用户需要查看的消息的 URL。我的问题是如何调用此 Web 服务并启动浏览器来显示 url。 (如果有要显示的)他们希望每天多次调用此 Web 服务。

我尝试使用调度程序服务运行脚本,但它作为“系统”运行并且不会启动浏览器窗口。我可以启动一个 Aspx 页面来调用 Web 服务,但如果该最终用户没有 URL,那么我会得到一个闪现打开然后关闭的浏览器。对最终用户不利。

我愿意接受有关如何实现这一目标的建议。

谢谢!

I have a webservice that takes the endusers username (not password) and returns a URL of a message that that user needs to see. My problem is how to call this webservice and launch a browser to display the url. (if there is one to display) They want to call this webservice multiple times daily.

I've tried running a script using a scheduler service but it runs as "System" and won't launch the browser window. I can launch an Aspx page to call the web service but if there is no URL for that end user then I get a browser that flashes open then closed. Not good for end users.

I'm open to suggestions on how I can make this happen.

Thanks!

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

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

发布评论

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

评论(1

三生殊途 2024-10-13 15:52:28

更改计划任务运行的用户。检查此页面的安全选项

Change the user the scheduled task runs as. check this page under security options

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