Skip to main content
Solved

Command Line mode in FME Server


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)
View original
Did this help you find an answer to your question?

4 replies

david_r
Celebrity
  • 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
  • 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
  • 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
  • July 1, 2020
p-chessel-vdg wrote:

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)

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings