Search

GlobalSCAPE Knowledge Base

Scripts run fine manually, but fail in a Timer Event Rule

Karla Marsh
EFT Express (SMB) & Enterprise

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT Server, all versions

SYMPTOM

My scripts run fine when I run them manually, but they fail when I use a Timer Event Rule.

RESOLUTION

  1. Ensure that the Windows account for the EFT Server service has the proper permission to run the script.
  2. Put the full path to the file in the "Run" action of the task, or add a PATH entry to the SYSTEM environment variables on the computer that points to the utility that you are using to run the scripts (e.g., Cygwin binaries).

MORE INFORMATION

When you run a process manually, you are running a process as your interactive Windows user, with that user's PATH settings and permissions. However, when the task is executed with an EFT Server Event Rule (e.g., a Timer rule), it is running the process as the service account, which likely does NOT have the proper path definition or permissions.

Refer to Allowing the EFT Server Service Administrative Rights for more information about creating a Windows user account for EFT Server and setting permissions for the account.

Details
Last Modified: 7 Years Ago
Last Modified By: GlobalSCAPE 5
Type: FIX
Article not rated yet.
Article has been viewed 3.9K times.
Options
Also In This Category