Scheduling and Permissions

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Using Robo-FTP > Scheduling Script Execution >

Scheduling and Permissions

Sometimes you may find that a script runs successfully without issues when tested under your local user account, but runs into errors when scheduled to run under a service account. The most common cause in this scenario is a permissions problem where your user account has appropriate permissions for a given resource but the service account does not.

 

To address this, it is important to first detect the error at its source. The articles on Error Handling and Fault Tolerant Scripts contain information on how to detect general errors as they occur in your scripts. Permissions for network drives can be especially troublesome. Refer to the article on Working with Network Drives for tips on addressing issues on that topic.

 

Once you have identified the directory that is causing your permissions issue, you can choose one of the following approaches to resolve it:

 

1) Change the permissions for the problematic directory by ensuring that the default user under which jobs run per the Configurator's Scheduler Page has permissions to read to, write from, and list entries for that directory;

2) Change the user under which the Robo-FTP Schedule Service runs; or

3) Create a Job Group which will run all jobs assigned to it as a user which already has the correct permissions, and assign the job to that Job Group

 

See also: Error Handling, Fault Tolerant Scripts, Working with Network Drives