Jump to content

Robot Interface File and Windows Task Scheduler


This topic is 3536 days old. Please don't post here. Open a new topic instead.

Recommended Posts

We have created a FM interface file that contains a master script to open the solution files and run a series of scripts in several of the solution files. The function of the scripts is to send emails with PDFs, some of which are existing, some of which need to be created and attached to the email.

 

We want this to run on Windows Server 2012, Standard; we are using admin accounts in FileMaker as well as the server.

 

We have scheduled a task in the Windows Task Scheduler to open the FileMaker file, which it does. The interface file is programmed to run the master script using the OnFirstWindowOpen script trigger. The master script is set to run with full privileges. Any PDFs created are stored in a directory on the C: drive. Permissions have been checked and double checked.

 

The file opens but closes after about 30 seconds recording an error with the FileMaker viewsystem.dll file.

 

Because the some of the scripts need to create PDFs, we can't run it server side.

 

Any thoughts on why this is not working? Any suggestions for workarounds? We could possibly move the control file with master script to an idle workstation, the process runs around midnight but the client would prefer it run on the server.

 

Thanks,

John

 

 

 

Link to comment
Share on other sites

Is that routine running on the same server as FMS?  If so how you make sure that the files you are trying to pull open are using "open remote" and not trying to open files from the hard disk directly?

 

(obviously the latter is very bad and the main reason NOT to do attempt these things on the same machine as the live files)

Link to comment
Share on other sites

This topic is 3536 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.