[英]VBScript Task scheduler not working?
I am trying to schedule a VBscript using windows task scheduler. 我正在尝试使用Windows Task Scheduler安排VBscript。 It doesn't require any user interaction. 它不需要任何用户交互。 It does open a qlikview application file and download some reports but no user interaction is needed. 它确实会打开qlikview应用程序文件并下载一些报告,但不需要用户交互。
It works fine when I run it manually, but the problem when I try to run it using task scheduler the qlikview application is not getting opened. 当我手动运行它时,它可以正常工作,但是当我尝试使用任务计划程序运行该问题时,qlikview应用程序未打开。 But a process seems to be running in the background (I checked task manager). 但是一个进程似乎正在后台运行(我检查了任务管理器)。
I have scheduled a task like this : 我已经安排了这样的任务:
Start a Program : C:\\Windows\\System32\\CScript.exe 启动程序 :C:\\ Windows \\ System32 \\ CScript.exe
Arguments : C:\\Script_Location\\Script.vbs 参数 :C:\\ Script_Location \\ Script.vbs
I have tried creating batch file and scheduling that. 我试过创建批处理文件并安排它。 It didn't work out 它没有解决
Any idea how to fix this? 任何想法如何解决这个问题?
I'm guessing that the QlikView launched by the VbScript is looking for some user interaction, possibly licensing or database connection configuration. 我猜想VbScript启动的QlikView正在寻找一些用户交互,可能是许可或数据库连接配置。 Check the Windows Event Application log for application pop-ups to see any pop-up messages the qv.exe may have displayed. 检查Windows事件应用程序日志中是否有应用程序弹出窗口,以查看qv.exe可能显示的任何弹出消息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.