Skip to main content
Solved

FME through Windows Task Scheduler

  • June 14, 2023
  • 4 replies
  • 116 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • June 14, 2023

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


kailinatsafe
Safer
Forum|alt.badge.img+23
  • Safer
  • 720 replies
  • June 14, 2023

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+44
  • Influencer
  • 3427 replies
  • 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
  • 11 replies
  • June 15, 2023

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.