简体   繁体   English

VBScript任务计划程序不起作用?

[英]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.

相关问题 任务计划程序正在运行,但未完成或无法正常工作VBscript - Task Scheduler running but not finishing or working properly VBscript Vbscript在cmd提示符下工作正常,但在任务计划程序中不工作 - Vbscript is working fine in cmd prompt but not working in task scheduler Windows 任务计划程序不运行 VBScript - Windows Task Scheduler Doesn't Run VBScript VBScript 不会从从 Windows 任务计划程序运行的 Powershell 脚本中运行 - VBScript will not run from Powershell script that runs from Windows Task Scheduler vbscript中的.GetAbsolutePathName(“。”)在由任务调度程序运行时未获得正确的路径 - .GetAbsolutePathName(“.”) in vbscript does not get correct path when run by task scheduler Windows任务计划程序设置为“如果已登录或未运行”,则不运行VBScript - Windows Task Scheduler not running VBScript when set to “Run if logged on or not” 从任务计划程序运行时如何使用VBScript关闭Outlook - How to close Outlook with VBScript when run from Task Scheduler Windows Task Scheduler运行批处理文件,该批处理文件调用运行宏的vbscript - Windows Task Scheduler to Run batch file that calls vbscript that runs a macro VBScript从任务计划程序运行php脚本,但已最小化 - VBScript to run a php script from task scheduler but minimized 由Task Scheduler运行时,VBScript和批处理文件失败 - VBScript and batch file fails when run by Task Scheduler
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM