Is the com.EikonDesktopDataAPI not available by windows task scheduler?

https://community.developers.refinitiv.com/questions/7522/unable-to-cast-com-object-of-type-system-comobject.html

↑ This is my previous problem, it is solved, thanks to Zhenya Kovalyov.

After I finished implementing the API of Eikon (RtGet , RData, TR), I met another problem, when I execute the program with calling the API by windows task scheduler, the status is always executing and non-stop.

I can make sure the program is ok when I execute stand-alone, but it will be some problems when using task scheduler.

Please refer to my attachment, thanks!!!

eikonbatch.zip

Best Answer

  • Dirk Ho
    Dirk Ho Explorer
    Answer ✓

    Please refer to my attachment

    I got the problems, if I use the "Run only when user is logged on", it's ok. but when I use "Run whether user is logged on or not", the batch will freeze.

    task.zip

Answers