FoxPro Programming
Running VFP app from NAS Driver or Network Share
Gravatar is a globally recognized avatar based on your email address. Running VFP app from NAS Driver or Network Share
  Bob
  All
  May 25, 2021 @ 06:00pm

I am using Windows Task Scheduler to run a VFP Unattended job and it works fine except when attempting to run from a network share or a Shared NAS drive. I have Googled until my fingers won't work and can't seem to find a solution to this that works. Does anyone know of anything that can be done to make this work.

Gravatar is a globally recognized avatar based on your email address. re: Running VFP app from NAS Driver or Network Share
  Rick Strahl
  Bob
  May 26, 2021 @ 12:42pm

Permissions? Make sure the account you are running the Scheduled Task Under has rights to access the remote share.

Also, drive mappings from your interactive account are not going to be visible to the Task if not running as INTERACTIVE (or perhaps running the current user account). So you have to use UNC paths or map drives as part of your VFP code executing. If you're not using the interactive account you're basically starting in a clean non-configured Windows environment.

+++ Rick ---

© 1996-2024