File Output to Network Mapped Drive on Job Scheduler

One Star

File Output to Network Mapped Drive on Job Scheduler

Hi there,

Have an instance of Talend installed on a virtual machine and it runs using the Windows Scheduler therefore there is never a user logged in when the jobs are running (usually 6am so things are ready for 9am). Recently it was implemented that the files would be transferred to the main desktop automatically, it works during testing however does not seem to work at 6am when it should as there is no user logged in and it cannot seem to find the network drive. Is there anyway to alleviate this problem?

Had originally just set the path to (G:/destination) and on realisation of the problem yesterday morning set it to (//ip_address/data/) however neither seem to work. The problem is only fixed by logging in and running the job whilst connected. Is the only way to make the files on the virtual machine and copy them over each morning?

Thanks

Four Stars

Re: File Output to Network Mapped Drive on Job Scheduler

mattdon43 wrote:
Hi there,

Have an instance of Talend installed on a virtual machine and it runs using the Windows Scheduler therefore there is never a user logged in when the jobs are running (usually 6am so things are ready for 9am). Recently it was implemented that the files would be transferred to the main desktop automatically, it works during testing however does not seem to work at 6am when it should as there is no user logged in and it cannot seem to find the network drive. Is there anyway to alleviate this problem?

Had originally just set the path to (G:/destination) and on realisation of the problem yesterday morning set it to (//ip_address/data/) however neither seem to work. The problem is only fixed by logging in and running the job whilst connected. Is the only way to make the files on the virtual machine and copy them over each morning?

Thanks

Make sure that the user who's running the job has the right to read and write on the folders
Do you have the logs of the job execution ? 
One Star

Re: File Output to Network Mapped Drive on Job Scheduler

Hi,

Don't have any logs of the job unfortunately, but yes the user does have read and write permissions as the job has been run manually to alleviate the error in the morning by the same user.

However this may be the answer as the original Windows scheduler was setup by a user who has not yet mapped the Network Drive but the Talend jobs run through a user who has. Probably best to get both to connect the drive.
Four Stars

Re: File Output to Network Mapped Drive on Job Scheduler

Actually "\\machine\share" should work
Try to share the folder
Do you use Excel or Access application in your job ?

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog