포럼: 도움 (Thread #44834)

schedule tera term ttl macro file (2021-11-19 07:13 by reneo_mudron #88298)

Hi,

I was able to create a tera term macro to process data and store it to a csv output file.

I am able to run the NVS_offline_counter_data.ttl from command prompt.

However, I am unable to create a windows scheduled task which could run the macro.

I have tried to set the action to:
"C:\Program Files (x86)\teraterm\ttpmacro.exe" C:\TeraTerm\Macros\NVS_offline_counter_data.ttl
"C:\Program Files (x86)\teraterm\ttpmacro.exe" /M=C:\TeraTerm\Macros\NVS_offline_counter_data.ttl
"C:\Program Files (x86)\teraterm\ttpmacro.exe" /M="C:\TeraTerm\Macros\NVS_offline_counter_data.ttl"
C:\windows\system32\cmd "C:\Program Files (x86)\teraterm\ttpmacro.exe" C:\TeraTerm\Macros\NVS_offline_counter_data.ttl
C:\windows\system32\cmd "C:\Program Files (x86)\teraterm\ttpmacro.exe" /V C:\TeraTerm\Macros\NVS_offline_counter_data.ttl

but somehow it did not help.
Do you have any idea about scheduling macros?

Re: schedule tera term ttl macro file (2022-07-26 16:36 by reneo_mudron #90643)

there was an issue with windows schedule tasks. They were not running while the user was logged off.. even if the task was set to run whether user is logged on or not.

resolution: we have run caffeine64.exe application which emulated the user being not logged in on server.
Reply to #88298