
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Run .bat file from tSystem which launch another powershell script doesn't work from TMC
Hi there,
I'm trying to run a .bat file from tSystem component which launch another powershell script (ps1 file). The problem is: if I run the .bat file directly from the server, it works. The powershell is started and do the action required within the script. But, if I execute the corresponding task (Talend job) from TMC, is does nothing. Why does it happen?
The job only has a tSystem component with the command to run .bat file. When executing from TMC, the task is running on the same server, so I don't understand why if I do that manually it works, but not works executing from the task.
I provide the evidence and the commands used in each file:
NOTE: If I run manually the .bat file it works and the action within the .ps1 file is made. So I guess the instructions used in the files are correct. Don't know why executing the job from TMC it does nothing.
Any help please?
Thanks!!
