开发者

Talend - tFileUnarchive does not work in scheduled task

I've created a job where a ZIP file is downloaded to a folder and I use the component tFileUnarchive to extract files in the same folder where the ZIP file is located.

I've built my job and now it's running on a Windows Server as scheduled task. I've set up the task with my personal account on the server, but it is running with a service account and highest privileges. Obviously I've set the j开发者_如何转开发ob to run whether the user is loggen on or not.

The job starts correctly, it downloads the ZIP file correctly but it is unable to extract files from ZIP file.

The task scheduler returns the job is succesfully completed but it has 2147942401 as return code.

I've checked suggestions I've found here Batch file run as scheduled job returns 2147942659 and here batch file from scheduled task returns code 2147942401 without success.

The weird thing is that if I run the job manually (right click --> run) or If I log on the server with my account and I schedule a job after a couple of minutes (always running with the service account) it works correctly.

Do you have any suggestion?

Thanks

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜