bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] VBScript and Task Manager


From: D'Amato, Paul J.
Subject: Re: [Bug-wget] VBScript and Task Manager
Date: Wed, 16 Apr 2014 13:49:09 +0000

Tim -

One other piece of information, that may help, is when I schedule WGET to run 
from the task manager, outside of a vbscript, the application executes. I would 
like to have the script execute so I have one complete log file.

Here is the command/action from the WGET only task.

Program/Script:      wget.ext
Add Arguments (optional):  --secure-protocol=auto --no-check-certificate 
https://previewcac.optuminsight.com/ui/preview/clientbin/singlesolution.client.xap
Start in (optional):       C:\Program Files\GnuWin32\wget

I am using the "Start in" option so that the file from wget is placed in the 
same folder.

Thank you for any assistance that you are able to give.

Paul

From: D'Amato, Paul J.
Sent: Wednesday, April 16, 2014 9:31 AM
To: 'Tim Ruehsen'; address@hidden
Subject: RE: [Bug-wget] VBScript and Task Manager


Thanks Tim. I started with a general description in case you already had a 
document I could review. Besides, I didn't know the level of "expertise" I 
would be getting from an email to a general box.



I've attached the VBScript and I made comments on where the script is hanging.

The file extension is changed from .vbs to .txt.

Here is a screen shot of the Action in my Task:



[cid:image001.png@01CF5959.0E9CEB40]





The task is triggered each morning at 3 AM.



Please let me know if there is more information that you can use.



Thank you,

Paul



-----Original Message-----
From: Tim Ruehsen [mailto:address@hidden
Sent: Wednesday, April 16, 2014 3:14 AM
To: address@hidden<mailto:address@hidden>
Cc: D'Amato, Paul J.
Subject: Re: [Bug-wget] VBScript and Task Manager



On Tuesday 15 April 2014 18:37:20 D'Amato, Paul J. wrote:

> I have a vbscript that downloads two files using wget.

> When I run the vbscript the files download and wget performs as expected.

> I need this to happen daily, so I created a Task in the Task Scheduler.

> When the vbscript runs from the task scheduler, the script stops on

> the first wget run command.

>

> Do you have any advice to for WGET to work in this scenario?



Please try to remember one of the first lectures of "software engineering":

include detailed/exact (logging) data to your bug report ! What system you are 
on (ok, vbscript --> Windows... Windows what ?), what is the error message and 
so on...



Else you just get 'guesses' like this: your PATH for executables might be 
different when running the script from your Task Scheduler.



Tim




The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]