Skip to main content
Solved

FME through Windows Task Scheduler


Forum|alt.badge.img

I have a workspace which is scheduled through Windows Task Scheduler on a Virtual Machine. This workspace writes out to an Excel file on a mounted drive. When running the workspace manually, it has no issues. However when running through Task Scheduler, the workbench gives an error "Can't open file for writing". The target Excel is not opened anywhere and I do have writing permissions for it.

 

Has anyone dealt with a similar issue before?

Best answer by ebygomm

Are you trying to write to a mapped network drive? If so you probably need to use the UNC path

View original
Did this help you find an answer to your question?

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

Does the account that's running the task through task scheduler have access to the file/directory?


kailinatsafe
Safer
Forum|alt.badge.img+21
redgeographics wrote:

Does the account that's running the task through task scheduler have access to the file/directory?

I think @redgeographics is onto something, see the "Won't Get Fooled Again" section of this article! Best, Kailin


ebygomm
Influencer
Forum|alt.badge.img+33
  • Influencer
  • Best Answer
  • June 14, 2023

Are you trying to write to a mapped network drive? If so you probably need to use the UNC path


Forum|alt.badge.img
  • Author
  • June 15, 2023
ebygomm wrote:

Are you trying to write to a mapped network drive? If so you probably need to use the UNC path

This worked! Thanks a million for your help.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings