Skip to main content
Solved

Command Line mode in FME Server

  • June 30, 2020
  • 4 replies
  • 33 views

p-chessel-vdg
Contributor
Forum|alt.badge.img+4

Is it possible in FME Server Windows environnement to run fme.exe from command line (.cmd or .bat file) ?

Is there the exact same fonctionnality as in FME Desktop install ?

Does it use the FME Server licence ?

Thanks

Best answer by david_r

Bonjour

Yes, based on your description it sounds like having both might be the easiest short-time solution, as it would let you continue to use the current "Desktop-only" workspaces while you migrate them to FME Server.

Salutations de Lausanne (inser.ch)
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

david_r
Celebrity
  • 8392 replies
  • June 30, 2020

You cannot run fme.exe on an FME Server installation unless you have an FME Desktop license configured as well. Even then I would advice against it, as you are basically circumventing the entire point of FME Server.

The more logical solution would be to operate FME Server from the command line, you can use the FME Server Console application for this:

https://docs.safe.com/fme/html/FME_Server_Documentation/ReferenceManual/FME_Server_Console.htm


p-chessel-vdg
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • 16 replies
  • June 30, 2020

Yes i understand all the point of FME Server managing workspaces and having his own scheduler methods, ...

But in our case we want to migrate an existing ArcGIS / FME Linux environment that has a lot of existing .fmw scripts run by shells with scheduled crontabs.

We have to port this on Windows Server plateforme because of the SDE_GEODATABASE reader/writer dependancy on ArCGIS Dekstop.

 

Then we think it would be easier to initially upgrade these .fmw workspaces to FME 2020 , then run them similarly as the current scheduled command line mode (fme.exe).

 

Then we would after refactor this a proper FME Server implémentation.

We have an FME DEsktop FlexLm server with few available licenses.

 

Do you mean that we need to install both FME Server and FME Desktop on the windows server for this ?

 

Thanks

 


david_r
Celebrity
  • 8392 replies
  • Best Answer
  • July 1, 2020

Bonjour

Yes, based on your description it sounds like having both might be the easiest short-time solution, as it would let you continue to use the current "Desktop-only" workspaces while you migrate them to FME Server.

Salutations de Lausanne (inser.ch)

david_r
Celebrity
  • 8392 replies
  • July 1, 2020

Yes i understand all the point of FME Server managing workspaces and having his own scheduler methods, ...

But in our case we want to migrate an existing ArcGIS / FME Linux environment that has a lot of existing .fmw scripts run by shells with scheduled crontabs.

We have to port this on Windows Server plateforme because of the SDE_GEODATABASE reader/writer dependancy on ArCGIS Dekstop.

 

Then we think it would be easier to initially upgrade these .fmw workspaces to FME 2020 , then run them similarly as the current scheduled command line mode (fme.exe).

 

Then we would after refactor this a proper FME Server implémentation.

We have an FME DEsktop FlexLm server with few available licenses.

 

Do you mean that we need to install both FME Server and FME Desktop on the windows server for this ?

 

Thanks

 

Bonjour

Yes, based on your description it sounds like having both might be the easiest short-time solution, as it would let you continue to use the current "Desktop-only" workspaces while you migrate them to FME Server.

Salutations de Lausanne (inser.ch)