Question

Does the FME Server queue include Python startup and shutdown scripts?

  • 26 May 2016
  • 1 reply
  • 0 views

Badge +1
  • Participant
  • 126 replies

We have one engine for our FME Server 2015 which means that jobs execute one at a time and jobs that come along while one job is executing go into the queue. Usually this is not a problem.

Recently, however we had a problem with a script that works in FME Desktop but does not always work in FME Server. The script has a Python shutdown script. I'm wondering if FME Server waits until the action of the shutdown script in the first FME script completes before it starts executing the second FME script?

Thanks


1 reply

Userlevel 4

The startup and shutdown scripts are part of the workspace, and are therefore executed on the same engine and in the same context as the workspace itself.

If you have more than one engine and run the same workspace in parallel, it is entirely possible that one engine executes a startup script while another engine executes a shutdown script, but of course within the context of each, separate workspace execution.

Reply