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

Re: [amibroker] Off Topic - Windows task scheduler



PureBytes Links

Trading Reference Links

Dan,
 
Thanks for your comments....
 
The code works fine when I start it directly (not using the dcheduler).
 
I did notice we use different calls to start the downloader ... both work fine.
 
Have to dig into Windows issues...
 
----- Original Message -----
From: Dan Clark
Sent: Thursday, March 16, 2006 8:47 PM
Subject: RE: [amibroker] Off Topic - Windows task scheduler

Ara,

 

Hi.   I kill the Broker.exe (looks like yours might better.  However, this is call to start the QP downloader.

 

@rem run Quotes Plus Downloader

"C:\Program Files\Quotes Plus\GetPasswd.exe"

 

Then I call:

 

@rem Sleep 10 minutes for downloaded data to process

SLEEP 600

 

And finally start AB.

 

Does this help at all?

 

Regards,

 

Dan.

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Ara Kaloustian
Sent: Thursday, March 16, 2006 11:40 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Off Topic - Windows task scheduler

 

Dan,

 

Below the code:

 

The code works when I start by doubleclicking on "cmd"  file. nothing happens when I call it from task scheduler.

 

 

 

//File: QP_Download.cmd
//version 1.0
//February 16, 2006
//

 

@Rem Close AB if open. Sleep for 120 sec to save symbols
Process -k Broker.exe
Sleep 120

 

@Rem Download and process QP Data
"D:\Program Files\Quotes Plus\qpdl.exe"
"D:\Program Files\Quotes Plus\qpproc.exe"

 

@Rem Start Amibroker.
"D:\Program Files\Amibroker_EOD\Broker.exe"

----- Original Message -----

From: Dan Clark

Sent: Thursday, March 16, 2006 8:12 AM

Subject: RE: [amibroker] Off Topic - Windows task scheduler

 

Ara,

 

Hi.  What code are you executing in the scheduler?  Can you provide a screen short or code snippet?

 

Regards,

 

Dan.

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Ara Kaloustian
Sent: Wednesday, March 15, 2006 5:00 PM
To: AB-Main
Subject: [amibroker] Off Topic - Windows task scheduler

 

Am trying to schedule daily data retreival to run automaticaly.

 

The scheduler does not seem to work. When the scheduled time arrives ... nothing happens.

 

With the cmd window open ... no error message ... nothing

 

Anyone know how to trouble shoot this?

 

TIA

 

Ara

 




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS